Merge pull request #4531 from oldium/add-widget-changed
luci-base: Fix using isActive in widget-change notification.
This commit is contained in:
commit
5a485f8c68
1 changed files with 2 additions and 2 deletions
|
@ -3351,10 +3351,10 @@ var CBIValue = CBIAbstractValue.extend(/** @lends LuCI.form.Value.prototype */ {
|
||||||
optionEl.classList.add('hidden');
|
optionEl.classList.add('hidden');
|
||||||
|
|
||||||
optionEl.addEventListener('widget-change',
|
optionEl.addEventListener('widget-change',
|
||||||
L.bind(this.handleValueChange, this, section_id, {}));
|
L.bind(this.map.checkDepends, this.map));
|
||||||
|
|
||||||
optionEl.addEventListener('widget-change',
|
optionEl.addEventListener('widget-change',
|
||||||
L.bind(this.map.checkDepends, this.map));
|
L.bind(this.handleValueChange, this, section_id, {}));
|
||||||
|
|
||||||
dom.bindClassInstance(optionEl, this);
|
dom.bindClassInstance(optionEl, this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue