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>
This commit is contained in:
Paul Donald 2024-11-24 02:11:03 +01:00
parent 03c028cb7f
commit 9a6dc74ab8

View File

@ -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'));