diff options
author | Steven Barth <steven@midlink.org> | 2008-10-04 17:56:02 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-10-04 17:56:02 +0000 |
commit | a77418045370ecd82afe799b9995ca8b828d75c0 (patch) | |
tree | 44742a39db432445c80d3122ea095ea2581688ec /applications/luci-fw/luasrc | |
parent | 5a40e6f1c00013a59ba8655708bc316398746ad5 (diff) |
Rules should not be removed / created from the detailed rule configuration
Diffstat (limited to 'applications/luci-fw/luasrc')
-rw-r--r-- | applications/luci-fw/luasrc/model/cbi/luci_fw/rrule.lua | 1 | ||||
-rw-r--r-- | applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/rrule.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/rrule.lua index bf826616a..1610698c4 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/rrule.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/rrule.lua @@ -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 = "" diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua index fa5b44e79..f860bff3e 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua @@ -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 = "" |