diff options
Diffstat (limited to 'libs/cbi/luasrc/cbi.lua')
-rw-r--r-- | libs/cbi/luasrc/cbi.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index e265589746..c318e64b8e 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -617,8 +617,12 @@ function Delegator.parse(self, ...) self.active = self:get(self.current) if type(self.active) ~= "function" then self.active:populate_delegator(self) - self.active:parse(false) - return FROM_PROCEED + local stat = self.active:parse(false) + if stat == FORM_SKIP then + return self:parse(...) + else + return FORM_PROCEED + end else return self:parse(...) end |