From: Sergey Ponomarev Date: Thu, 31 Aug 2023 09:00:42 +0000 (+0300) Subject: luci-app-adblock: Remove unused unspecified option X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a0e13dc19a5306880b4f96f40701d7df23459be2;p=project%2Fluci.git luci-app-adblock: Remove unused unspecified option Signed-off-by: Sergey Ponomarev --- diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js index 9b0aa5bc0d..846689e945 100644 --- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js +++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js @@ -311,7 +311,6 @@ return view.extend({ o = s.taboption('general', widgets.NetworkSelect, 'adb_trigger', _('Startup Trigger Interface'), _('List of available network interfaces to trigger the adblock start. \ Choose \'unspecified\' to use a classic startup timeout instead of a network trigger.')); - o.unspecified = true; o.nocreate = true; o.rmempty = true; @@ -320,14 +319,12 @@ return view.extend({ o = s.taboption('general', widgets.ZoneSelect, 'adb_zonelist', _('Forced Zones'), _('Firewall source zones that should be forced locally.')); o.depends('adb_forcedns', '1'); - o.unspecified = true; o.multiple = true; o.nocreate = true; o.rmempty = true; o = s.taboption('general', form.DynamicList, 'adb_portlist', _('Forced Ports'), _('Firewall ports that should be forced locally.')); o.depends('adb_forcedns', '1'); - o.unspecified = true; o.multiple = true; o.nocreate = false; o.datatype = 'port'; @@ -484,7 +481,6 @@ return view.extend({ o.default = 'Changes on this tab needs a full adblock service restart to take effect.'; o = s.taboption('adv_report', widgets.DeviceSelect, 'adb_repiface', _('Report Interface'), _('List of available network devices used by tcpdump.')); - o.unspecified = true; o.nocreate = false; o.rmempty = true;