diff options
author | Paul Donald <newtwen+github@gmail.com> | 2024-11-24 02:11:03 +0100 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-11-24 15:55:24 +0100 |
commit | 9a6dc74ab8d121a99737a949519cbf3407416b14 (patch) | |
tree | 2b3549af1b86c73e9902d32dc0606cb6ad268ee7 /modules/luci-mod-network/htdocs | |
parent | 03c028cb7f04f713155c436ece985329fcd4b9e2 (diff) |
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 <newtwen+github@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js | 2 |
1 files changed, 2 insertions, 0 deletions
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')); |