diff options
Diffstat (limited to 'applications/luci-app-firewall/htdocs/luci-static/resources')
-rw-r--r-- | applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js index 89de8f46b5..fe9ef75c5a 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js @@ -146,7 +146,7 @@ return L.view.extend({ o.modalonly = true; o.multiple = true; o.cfgvalue = function(section_id) { - return uci.get('firewall', section_id, 'network') || uci.get('firewall', section_id, 'name'); + return uci.get('firewall', section_id, 'network'); }; o.write = function(section_id, formvalue) { var name = uci.get('firewall', section_id, 'name'), @@ -171,9 +171,6 @@ return L.view.extend({ zone_networks[0].addNetwork(zone_networks[i].getName()); }); }; - o.remove = function(section_id) { - return uci.set('firewall', section_id, 'network', ' '); - }; o = s.taboption('advanced', form.DummyValue, '_advancedinfo'); o.rawhtml = true; |