CBI: Push savestatus to commit_handler
authorSteven Barth <steven@midlink.org>
Sun, 19 Oct 2008 19:01:50 +0000 (19:01 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 19 Oct 2008 19:01:50 +0000 (19:01 +0000)
libs/cbi/luasrc/cbi.lua

index eed2b64..5f2a7b7 100644 (file)
@@ -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