summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js
index 568a4abb6..1d705e3bf 100644
--- a/modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/modules/luci-base/htdocs/luci-static/resources/form.js
@@ -3351,10 +3351,10 @@ var CBIValue = CBIAbstractValue.extend(/** @lends LuCI.form.Value.prototype */ {
optionEl.classList.add('hidden');
optionEl.addEventListener('widget-change',
- L.bind(this.handleValueChange, this, section_id, {}));
+ L.bind(this.map.checkDepends, this.map));
optionEl.addEventListener('widget-change',
- L.bind(this.map.checkDepends, this.map));
+ L.bind(this.handleValueChange, this, section_id, {}));
dom.bindClassInstance(optionEl, this);