From 0cdf9d7ead3027da368910f6e08a784948681cc4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 27 Nov 2010 05:26:48 +0000 Subject: applications/luci-firewall: minor tweaks on config pages --- applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua | 4 ---- applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'applications/luci-firewall/luasrc') 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 65e3e5816d..74617e08b7 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 0aa618d290..00695a79c2 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) -- cgit v1.2.3