git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
8193a24
)
applications/luci-firewall: make rules and redirections sortable
author
Jo-Philipp Wich
<redacted>
Thu, 20 Jan 2011 12:38:32 +0000
(12:38 +0000)
committer
Jo-Philipp Wich
<redacted>
Thu, 20 Jan 2011 12:38:32 +0000
(12:38 +0000)
applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua
patch
|
blob
|
history
diff --git
a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua
b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua
index d40de7cdba2bc8eaa255c54189643643769b3828..baced4a888636d581fa6b8c564cd3be410a1f4de 100644
(file)
--- a/
applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua
+++ b/
applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua
@@
-113,6
+113,7
@@
s = m:section(TypedSection, "redirect", translate("Redirections"))
s.template = "cbi/tblsection"
s.addremove = true
s.anonymous = true
+s.sortable = true
s.extedit = ds.build_url("admin", "network", "firewall", "redirect", "%s")
function s.create(self, section)
@@
-191,6
+192,7
@@
end
s = m:section(TypedSection, "rule", translate("Rules"))
s.addremove = true
s.anonymous = true
+s.sortable = true
s.template = "cbi/tblsection"
s.extedit = ds.build_url("admin", "network", "firewall", "rule", "%s")
s.defaults.target = "ACCEPT"
git clone https://git.99rst.org/PROJECT