gluon-web-model: remove unused Section attribute "fields"

This commit is contained in:
Matthias Schiffer 2018-08-19 12:09:50 +02:00
parent a2be178ce8
commit 653c132013
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -171,7 +171,6 @@ Section = class(Node)
function Section:__init__(...)
Node.__init__(self, ...)
self.fields = {}
self.template = "model/section"
end
@ -180,7 +179,6 @@ function Section:option(t, option, title, description, ...)
local obj = t(title, description, option, ...)
self:append(obj)
self.fields[option] = obj
return obj
end