Fix errorhandling in Delegators
This commit is contained in:
parent
d7a90e994a
commit
2561ed9b7a
1 changed files with 3 additions and 0 deletions
|
@ -578,8 +578,11 @@ function Delegator.parse(self, ...)
|
|||
else
|
||||
newcurrent = self:get_next(self.current)
|
||||
end
|
||||
elseif stat < FORM_PROCEED then
|
||||
return stat
|
||||
end
|
||||
|
||||
|
||||
if not Map.formvalue(self, "cbi.submit") then
|
||||
return FORM_NODATA
|
||||
elseif not newcurrent or not self:get(newcurrent) then
|
||||
|
|
Loading…
Reference in a new issue