summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-30 09:21:38 +0000
committerSteven Barth <steven@midlink.org>2008-08-30 09:21:38 +0000
commitccf73ec14ea31673250ac28d5b51883b474d231e (patch)
tree8f5d8e2a192ecc45bdc4fb1e2a30c50bd4025a3f /libs
parentd564e036b3524e07e48d3b9a82d02cc66c7da989 (diff)
libs/cbi: Temporarily allow invalid configuration values to be saved
Diffstat (limited to 'libs')
-rw-r--r--libs/cbi/luasrc/cbi.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua
index 2585e5459..7dabe2d60 100644
--- a/libs/cbi/luasrc/cbi.lua
+++ b/libs/cbi/luasrc/cbi.lua
@@ -629,7 +629,7 @@ function NamedSection.parse(self)
local co = self.map:get()
local stat, err = self.map.validator:validate_section(self.config, s, co)
if err then
- self.map.save = false
+ --self.map.save = false
if err.code == luci.uvl.errors.ERR_DEPENDENCY then
self.tag_deperror[s] = true
else
@@ -745,7 +745,7 @@ function TypedSection.parse(self)
local co = self.map:get()
local stat, err = self.map.validator:validate_section(self.config, k, co)
if err then
- self.map.save = false
+ --self.map.save = false
if err.code == luci.uvl.errors.ERR_DEPENDENCY then
self.tag_deperror[k] = true
else