Signed-off-by: Paul Donald <newtwen+github@gmail.com>
callHostHints(),
callDUIDHints(),
getDHCPPools(),
- network.getNetworks()
+ network.getNetworks(),
+ uci.load('firewall')
]);
},
ss.modaltitle = _('Edit IP set');
so = ss.option(form.DynamicList, 'name', _('Name of the set'));
+ uci.sections('firewall', 'ipset', function(s) {
+ console.log('fukt:', s);
+ if (typeof(s.name) == 'string')
+ so.value(s.name, s.comment ? '%s (%s)'.format(s.name, s.comment) : s.name);
+ });
so.rmempty = false;
so.editable = false;
so.datatype = 'string';