From: Paul Donald Date: Sun, 24 Nov 2024 01:11:03 +0000 (+0100) Subject: luci-mod-network: routes: implement cloneable for all tabs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9a6dc74ab8d121a99737a949519cbf3407416b14;p=project%2Fluci.git 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 --- 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'));