libs/cbi: implement on_parse hook for maps
This commit is contained in:
parent
ee4fd290a0
commit
c70edf0f94
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue