summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-10-19 19:01:50 +0000
committerSteven Barth <steven@midlink.org>2008-10-19 19:01:50 +0000
commitc31dc4f97f06bd0d18aff0ab09c8f17c45f37811 (patch)
treec6796180e0a764e21596b221e30c488932534e68 /libs/cbi
parent07679380b8acf9e8fbaef8c57bdd76152b08cb46 (diff)
CBI: Push savestatus to commit_handler
Diffstat (limited to 'libs/cbi')
-rw-r--r--libs/cbi/luasrc/cbi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua
index eed2b64d3..5f2a7b76c 100644
--- a/libs/cbi/luasrc/cbi.lua
+++ b/libs/cbi/luasrc/cbi.lua
@@ -342,7 +342,7 @@ function Map.parse(self)
self.uci:unload(config)
end
if type(self.commit_handler) == "function" then
- self:commit_handler()
+ self:commit_handler(luci.http.formvalue("cbi.submit"))
end
end
end