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
|
else
|
||||||
newcurrent = self:get_next(self.current)
|
newcurrent = self:get_next(self.current)
|
||||||
end
|
end
|
||||||
|
elseif stat < FORM_PROCEED then
|
||||||
|
return stat
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if not Map.formvalue(self, "cbi.submit") then
|
if not Map.formvalue(self, "cbi.submit") then
|
||||||
return FORM_NODATA
|
return FORM_NODATA
|
||||||
elseif not newcurrent or not self:get(newcurrent) then
|
elseif not newcurrent or not self:get(newcurrent) then
|
||||||
|
|
Loading…
Reference in a new issue