From 9a6dc74ab8d121a99737a949519cbf3407416b14 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Sun, 24 Nov 2024 02:11:03 +0100 Subject: luci-mod-network: routes: implement cloneable for all tabs This enables cloning of individual routes and rules where one wishes to make similar entries rapidly. Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/view/network/routes.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/luci-mod-network/htdocs') 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 d376dfafed..d5d4824650 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 @@ -35,6 +35,7 @@ return view.extend({ s.anonymous = true; s.addremove = true; s.sortable = true; + s.cloneable = true; s.nodescriptions = true; s.tab('general', _('General Settings')); @@ -127,6 +128,7 @@ return view.extend({ s.anonymous = true; s.addremove = true; s.sortable = true; + s.cloneable = true; s.nodescriptions = true; s.tab('general', _('General Settings')); -- cgit v1.2.3