aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-15 19:35:44 -0400
committerGitHub <noreply@github.com>2020-09-15 19:35:44 -0400
commitf997f017422bba2527e620000e3a938b916f25ac (patch)
tree659653476f599a437e1d16132ceed28ecbdf59b7 /ext/mixed
parent8d2847756271a1b4eb06a27b044b4096bd21f55c (diff)
Dictionary controller refactor (#831)
* Create new DictionaryController * Update input disabling when modifying the database
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/dom-data-binder.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mixed/js/dom-data-binder.js b/ext/mixed/js/dom-data-binder.js
index d46e8087..93fe956e 100644
--- a/ext/mixed/js/dom-data-binder.js
+++ b/ext/mixed/js/dom-data-binder.js
@@ -303,6 +303,9 @@ class DOMDataBinder {
element.value = value;
break;
}
+
+ const event = new CustomEvent('settingChanged', {detail: {value}});
+ element.dispatchEvent(event);
}
_getElementValue(element) {