From 648a09907ec2f3e8046be53519184ed7c5e5bd88 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 30 Aug 2024 11:54:45 +0200 Subject: [PATCH] luci-mod-network: routes.js: make interface setting optional Fixes: #7260 Ref: https://git.openwrt.org/5c2e5d5ea4e0dd9a0ed66154d818b96bf81664f4 Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js index 4004be219a90..982e6073695f 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js @@ -41,7 +41,7 @@ return view.extend({ o = s.taboption('general', widgets.NetworkSelect, 'interface', _('Interface'), _('Specifies the logical interface name of the parent (or master) interface this route belongs to')); o.loopback = true; o.nocreate = true; - o.rmempty = false; + o.rmempty = true; o = s.taboption('general', form.ListValue, 'type', _('Route type'), _('Specifies the route type to be created')); o.modalonly = true;