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__(...)
|
function Section:__init__(...)
|
||||||
Node.__init__(self, ...)
|
Node.__init__(self, ...)
|
||||||
self.fields = {}
|
|
||||||
self.template = "model/section"
|
self.template = "model/section"
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -180,7 +179,6 @@ function Section:option(t, option, title, description, ...)
|
|||||||
|
|
||||||
local obj = t(title, description, option, ...)
|
local obj = t(title, description, option, ...)
|
||||||
self:append(obj)
|
self:append(obj)
|
||||||
self.fields[option] = obj
|
|
||||||
return obj
|
return obj
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user