projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rules should not be removed / created from the detailed rule configuration
[project/luci.git]
/
applications
/
luci-fw
/
luasrc
/
model
/
cbi
/
luci_fw
/
rrule.lua
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
f21d36a
..
1610698
100644
(file)
--- a/
applications/luci-fw/luasrc/model/cbi/luci_fw/rrule.lua
+++ b/
applications/luci-fw/luasrc/model/cbi/luci_fw/rrule.lua
@@
-19,8
+19,9
@@
m = Map("firewall", translate("fw_redirect"), translate("fw_redirect_desc"))
s = m:section(NamedSection, arg[1], "redirect", "")
s.anonymous = true
s = m:section(NamedSection, arg[1], "redirect", "")
s.anonymous = true
+s.addremove = false
-back = s:option(DummyValue, translate("overview"))
+back = s:option(DummyValue,
"_overview",
translate("overview"))
back.value = ""
back.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "redirection")
back.value = ""
back.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "redirection")