From 737619f8b27483a3ad4975a2008beef27157dd04 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Thu, 31 Aug 2023 12:00:51 +0300 Subject: [PATCH] luci-app-banip: Remove unused unspecified option Signed-off-by: Sergey Ponomarev --- .../htdocs/luci-static/resources/view/banip/overview.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js index 896b3194d4..f6b897663f 100644 --- a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js +++ b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js @@ -264,7 +264,6 @@ return view.extend({ o = s.taboption('general', widgets.DeviceSelect, 'ban_dev', _('Network Devices'), _('Select the WAN network device(s).')); o.depends('ban_autodetect', '0'); - o.unspecified = true; o.multiple = true; o.nocreate = true; o.optional = true; @@ -272,7 +271,6 @@ return view.extend({ o = s.taboption('general', widgets.NetworkSelect, 'ban_ifv4', _('Network Interfaces'), _('Select the logical WAN IPv4 network interface(s).')); o.depends('ban_autodetect', '0'); - o.unspecified = true; o.multiple = true; o.nocreate = true; o.optional = true; @@ -280,7 +278,6 @@ return view.extend({ o = s.taboption('general', widgets.NetworkSelect, 'ban_ifv6', _('Network Interfaces'), _('Select the logical WAN IPv6 network interface(s).')); o.depends('ban_autodetect', '0'); - o.unspecified = true; o.multiple = true; o.nocreate = true; o.optional = true; @@ -301,7 +298,6 @@ return view.extend({ o.retain = true; o = s.taboption('general', widgets.NetworkSelect, 'ban_trigger', _('Startup Trigger Interface'), _('List of available network interfaces to trigger the banIP start.')); - o.unspecified = true; o.multiple = true; o.nocreate = true; o.rmempty = true; @@ -415,14 +411,12 @@ return view.extend({ o.rmempty = true; o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanallow', _('Allow VLAN Forwads'), _('Always allow certain VLAN forwards.')); - o.unspecified = true; o.multiple = true; o.nocreate = true; o.optional = true; o.rmempty = true; o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanblock', _('Block VLAN Forwads'), _('Always block certain VLAN forwards.')); - o.unspecified = true; o.multiple = true; o.nocreate = true; o.optional = true; -- 2.30.2