diff options
author | Steven Barth <steven@midlink.org> | 2008-08-22 22:38:14 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-22 22:38:14 +0000 |
commit | d8b61a53941ce5f0e5139f7c4d776abefad9b466 (patch) | |
tree | a1579426b9f84918b7798415db03ac42cf9e02e0 /modules/admin-full/luasrc | |
parent | 3bcab661283d5b9886e46d6bcdab0e756b044997 (diff) |
modules/admin-fulk: Fixed changes handling of Static Routes configuration page
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/routes.lua | 6 |
1 files changed, 6 insertions, 0 deletions
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 a6f47ced1..d7b851968 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")) |