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'),
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;