From: Steven Barth Date: Sun, 19 Oct 2008 19:01:50 +0000 (+0000) Subject: CBI: Push savestatus to commit_handler X-Git-Tag: 0.9.0~1084 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c31dc4f97f06bd0d18aff0ab09c8f17c45f37811;p=oweals%2Fluci.git CBI: Push savestatus to commit_handler --- 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