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 eed2b64d3d20741f4d37e2603f7188cc74452e77..5f2a7b76c4dab8458ee4abd4ee44b8fdda0bb6c2 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