diff options
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 46f1ff4825..d5f9fe3c52 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -834,7 +834,7 @@ var CBIAbstractValue = CBINode.extend({ return Promise.resolve(this.write(section_id, fval)); } else { - if (this.rmempty || this.optional) { + if (!active || this.rmempty || this.optional) { return Promise.resolve(this.remove(section_id)); } else if (!isEqual(cval, fval)) { |