Skip to content
Snippets Groups Projects
Commit e6859ca0 authored by Matthias Schiffer's avatar Matthias Schiffer Committed by Andreas Ziegler
Browse files

gluon-web-model: remove unused tag_invalid and tag_missing fields

parent 11a3b566
No related branches found
No related tags found
No related merge requests found
......@@ -207,20 +207,11 @@ end
function AbstractValue:add_error(type, msg)
self.error = msg or type
if type == "invalid" then
self.tag_invalid = true
elseif type == "missing" then
self.tag_missing = true
end
self.state = M.FORM_INVALID
end
function AbstractValue:reset()
self.error = nil
self.tag_invalid = nil
self.tag_missing = nil
self.data = nil
self.state = M.FORM_NODATA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment