summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-27 08:53:40 +0000
committerSteven Barth <steven@midlink.org>2008-08-27 08:53:40 +0000
commitd463d0b8357764ca9018549fa624c428f56fcd87 (patch)
tree5ef47bb6549a33c40415774b949fa23be5cfd3cb /modules/admin-full/luasrc/model
parent9d0c00590d2e232d66588567da2048fc64ef940a (diff)
Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Minor bugfixes
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/network.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/network.lua b/modules/admin-full/luasrc/model/cbi/admin_network/network.lua
index c32aea891..fce84fe3f 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/network.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/network.lua
@@ -39,6 +39,7 @@ end
function s.parse(self, ...)
TypedSection.parse(self, ...)
if created then
+ m.uci:save("network")
luci.http.redirect(luci.dispatcher.build_url("admin", "network", "network")
.. "/" .. created)
end