From d8b61a53941ce5f0e5139f7c4d776abefad9b466 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 22 Aug 2008 22:38:14 +0000 Subject: modules/admin-fulk: Fixed changes handling of Static Routes configuration page --- modules/admin-full/luasrc/model/cbi/admin_network/routes.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/admin-full/luasrc') diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua b/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua index a6f47ced11..d7b8519686 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua @@ -47,6 +47,12 @@ end s = m:section(TypedSection, "route", translate("a_n_routes_static")) s.addremove = true s.anonymous = true + +function s.render(...) + luci.model.uci.load_config("network") + TypedSection.render(...) +end + s.template = "cbi/tblsection" iface = s:option(ListValue, "interface", translate("interface")) -- cgit v1.2.3