Skip to content

Commit

Permalink
luci-app-firewall: implement cloneable for all tabs (except zones)
Browse files Browse the repository at this point in the history
This enables cloning of individual rules, forwards, etc where one wishes
to make similar entries rapidly.

Signed-off-by: Paul Donald <[email protected]>
  • Loading branch information
systemcrash committed Nov 24, 2024
1 parent 22cccf7 commit 03c028c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ return view.extend({
s.addremove = true;
s.anonymous = true;
s.sortable = true;
s.cloneable = true;

s.tab('general', _('General Settings'));
s.tab('advanced', _('Advanced Settings'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ return view.extend({
s.addremove = true;
s.anonymous = true;
s.sortable = true;
s.cloneable = true;
s.nodescriptions = true;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ return view.extend({
s.addremove = true;
s.anonymous = true;
s.sortable = true;
s.cloneable = true;

s.tab('general', _('General Settings'));
s.tab('advanced', _('Advanced Settings'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ return view.extend({
s.addremove = true;
s.anonymous = true;
s.sortable = true;
s.cloneable = true;

s.tab('general', _('General Settings'));
s.tab('advanced', _('Advanced Settings'));
Expand Down

0 comments on commit 03c028c

Please sign in to comment.