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:
3bcab66
)
modules/admin-fulk: Fixed changes handling of Static Routes configuration page
author
Steven Barth
<redacted>
Fri, 22 Aug 2008 22:38:14 +0000
(22:38 +0000)
committer
Steven Barth
<redacted>
Fri, 22 Aug 2008 22:38:14 +0000
(22:38 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
patch
|
blob
|
history
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 a6f47ced11ebd9a59ef5c6828680d14eb2f6e75b..d7b8519686de746113df06991923deaace259911 100644
(file)
--- 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"))
git clone https://git.99rst.org/PROJECT