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:
ee4fd29
)
libs/cbi: implement on_parse hook for maps
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 9 Nov 2009 00:32:05 +0000
(
00:32
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 9 Nov 2009 00:32:05 +0000
(
00:32
+0000)
libs/cbi/luasrc/cbi.lua
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/cbi.lua
b/libs/cbi/luasrc/cbi.lua
index
9268d41
..
8ca9e5c
100644
(file)
--- a/
libs/cbi/luasrc/cbi.lua
+++ b/
libs/cbi/luasrc/cbi.lua
@@
-351,6
+351,7
@@
end
-- Use optimized UCI writing
function Map.parse(self, readinput, ...)
self.readinput = (readinput ~= false)
+ self:_run_hooks("on_parse")
if self:formvalue("cbi.skip") then
self.state = FORM_SKIP