gluon-web-model: remove unused Section attribute "fields"
This commit is contained in:
parent
a2be178ce8
commit
653c132013
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user