mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 13:26:20 +04:00
Merge pull request #4531 from oldium/add-widget-changed
luci-base: Fix using isActive in widget-change notification.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user