luci-base: prevent parsing the form input after cbi emergency save
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 26 May 2015 15:32:11 +0000 (17:32 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 26 May 2015 15:32:11 +0000 (17:32 +0200)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/cbi.lua

index 7c5944b..45c9189 100644 (file)
@@ -324,6 +324,7 @@ function Map.__init__(self, config, ...)
                                luci.http.redirect(url)
                        end
                end
                                luci.http.redirect(url)
                        end
                end
+               self.save = false
        end
 
        if not ok then
        end
 
        if not ok then