luci-app-travelmate: Remove unused unspecified option
authorSergey Ponomarev <stokito@gmail.com>
Thu, 31 Aug 2023 09:01:11 +0000 (12:01 +0300)
committerSergey Ponomarev <stokito@gmail.com>
Thu, 31 Aug 2023 09:01:11 +0000 (12:01 +0300)
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js
applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js

index a8069135a02323cebde9293b99b6997a73d984ca..7de69e07a422ea723bb467bb1f52166833a299fa 100644 (file)
@@ -321,7 +321,6 @@ return view.extend({
 
                o = s.taboption('general', widgets.NetworkSelect, 'trm_vpnifacelist', _('Limit VPN processing'), _('Limit VPN processing to certain interfaces.'));
                o.depends('trm_vpn', '1');
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.rmempty = true;
index fcd98fa37f976a061c3fba5f372f0d41f3cbac11..00ff71c8deea610d8fb65b31fe21bc0a6af42177 100644 (file)
@@ -557,7 +557,6 @@ return view.extend({
                o.ucisection = 'uplink';
                o.ucioption = 'macaddr';
                o.nocreate = false;
-               o.unspecified = true;
                o.rmempty = true;
                o.datatype = 'macaddr';
                o.cfgvalue = function (section_id) {
@@ -699,7 +698,6 @@ return view.extend({
                }
 
                o = s.taboption('vpn', widgets.NetworkSelect, '_vpniface', _('VPN Interface'), _('The logical vpn network interface like \'wg0\'.'));
-               o.unspecified = false;
                o.nocreate = true;
                o.optional = true;
                o.modalonly = true;