mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
Rules should not be removed / created from the detailed rule configuration
This commit is contained in:
@@ -19,6 +19,7 @@ m = Map("firewall", translate("fw_redirect"), translate("fw_redirect_desc"))
|
||||
|
||||
s = m:section(NamedSection, arg[1], "redirect", "")
|
||||
s.anonymous = true
|
||||
s.addremove = false
|
||||
|
||||
back = s:option(DummyValue, "_overview", translate("overview"))
|
||||
back.value = ""
|
||||
|
||||
@@ -16,6 +16,7 @@ m = Map("firewall", translate("firewall_rule"), translate("firewall_rule_desc"))
|
||||
|
||||
s = m:section(NamedSection, arg[1], "rule", "")
|
||||
s.anonymous = true
|
||||
s.addremove = false
|
||||
|
||||
back = s:option(DummyValue, "_overview", translate("overview"))
|
||||
back.value = ""
|
||||
|
||||
Reference in New Issue
Block a user