summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-27 05:26:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-27 05:26:48 +0000
commit0cdf9d7ead3027da368910f6e08a784948681cc4 (patch)
treea4e68985245f29e82b8bfc21c5c40da50657f614
parent2e0fbbadc546e37baf13416e66aa5173ca604f5c (diff)
applications/luci-firewall: minor tweaks on config pages
-rw-r--r--applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua4
-rw-r--r--applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua1
2 files changed, 1 insertions, 4 deletions
diff --git a/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua b/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua
index 65e3e5816..74617e08b 100644
--- a/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua
+++ b/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua
@@ -53,10 +53,6 @@ s.addremove = false
s:tab("general", translate("General Settings"))
s:tab("advanced", translate("Advanced Settings"))
-back = s:taboption("general", DummyValue, "_overview", translate("Overview"))
-back.value = ""
-back.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "redirect")
-
name = s:taboption("general", Value, "_name", translate("Name"))
name.rmempty = true
name.size = 10
diff --git a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua
index 0aa618d29..00695a79c 100644
--- a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua
+++ b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua
@@ -22,6 +22,7 @@ local out, inp
require("luci.tools.webadmin")
m = Map("firewall", translate("Firewall - Zone Settings"))
+m.redirect = luci.dispatcher.build_url("admin/network/firewall")
fw.init(m.uci)
nw.init(m.uci)