CBI: Push savestatus to commit_handler
[project/luci.git] / 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