summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-05-26 17:32:11 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-05-26 17:32:11 +0200
commit1dada8cc4436a9cfb1a8a8e67085a7aadfec25cd (patch)
treeac3428af473a0471dfbecab5878bbabfe0e9efe3 /modules/luci-base/luasrc
parentd6d0926aee1205b9ade0cb5b7462603a98b938af (diff)
luci-base: prevent parsing the form input after cbi emergency save
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-base/luasrc')
-rw-r--r--modules/luci-base/luasrc/cbi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/cbi.lua b/modules/luci-base/luasrc/cbi.lua
index 7c5944bf2..45c91890a 100644
--- a/modules/luci-base/luasrc/cbi.lua
+++ b/modules/luci-base/luasrc/cbi.lua
@@ -324,6 +324,7 @@ function Map.__init__(self, config, ...)
luci.http.redirect(url)
end
end
+ self.save = false
end
if not ok then