* luci/libs: cbi: implement get_scheme() on some more map-like objects; whitespace cleanup
This commit is contained in:
parent
d97d6329c3
commit
1e6001c235
1 changed files with 38 additions and 29 deletions
|
@ -384,6 +384,11 @@ function SimpleForm.get(self, section, option)
|
|||
end
|
||||
|
||||
|
||||
function SimpleForm.get_scheme()
|
||||
return nil
|
||||
end
|
||||
|
||||
|
||||
|
||||
--[[
|
||||
AbstractSection
|
||||
|
@ -550,6 +555,10 @@ function Table.__init__(self, form, data, ...)
|
|||
return true
|
||||
end
|
||||
|
||||
function datasource.get_scheme()
|
||||
return nil
|
||||
end
|
||||
|
||||
AbstractSection.__init__(self, datasource, "table", ...)
|
||||
self.template = "cbi/tblsection"
|
||||
self.rowcolors = true
|
||||
|
|
Loading…
Reference in a new issue