projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e992e
)
Autoapplying on creation / deletion of sections is annoying, disable it.
author
Steven Barth
<steven@midlink.org>
Sat, 17 Jan 2009 13:06:18 +0000
(13:06 +0000)
committer
Steven Barth
<steven@midlink.org>
Sat, 17 Jan 2009 13:06:18 +0000
(13:06 +0000)
libs/cbi/luasrc/cbi.lua
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/cbi.lua
b/libs/cbi/luasrc/cbi.lua
index d19e0eb73e7baf483902adf24eaea588dee6afe3..d24fa6ad03d1dc67471f90bc45e840983b55016e 100644
(file)
--- a/
libs/cbi/luasrc/cbi.lua
+++ b/
libs/cbi/luasrc/cbi.lua
@@
-769,6
+769,7
@@
end
-- Removes the section
function AbstractSection.remove(self, section)
+ self.map.autoapply = false
return self.map:del(section)
end
@@
-795,6
+796,8
@@
function AbstractSection.create(self, section)
end
end
+ self.map.autoapply = false
+
return stat
end