add missing 'sums' option to IconList and InfoList
This commit is contained in:
parent
619f498dae
commit
909184fbba
2 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@ Ox.IconList <f> IconList Object
|
|||
selected <a|[]> array of selected items
|
||||
size <n|128> list size
|
||||
sort <a|[]> sort keys
|
||||
sums <[s]|[]> Sums to be included in totals
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.List> IconList Object
|
||||
@*/
|
||||
|
@ -51,6 +52,7 @@ Ox.IconList = function(options, self) {
|
|||
selected: [],
|
||||
size: 128,
|
||||
sort: [],
|
||||
sums: [],
|
||||
unique: ''
|
||||
})
|
||||
.options(options || {})
|
||||
|
@ -108,6 +110,7 @@ Ox.IconList = function(options, self) {
|
|||
selectAsYouType: self.options.selectAsYouType,
|
||||
selected: self.options.selected,
|
||||
sort: self.options.sort,
|
||||
sums: self.options.sums,
|
||||
type: 'icon',
|
||||
unique: self.options.unique
|
||||
})
|
||||
|
|
|
@ -25,6 +25,7 @@ Ox.InfoList = function(options, self) {
|
|||
selected: [],
|
||||
size: 192,
|
||||
sort: [],
|
||||
sums: [],
|
||||
unique: ''
|
||||
})
|
||||
.options(options || {})
|
||||
|
@ -75,6 +76,7 @@ Ox.InfoList = function(options, self) {
|
|||
selectAsYouType: self.options.selectAsYouType,
|
||||
selected: self.options.selected,
|
||||
sort: self.options.sort,
|
||||
sums: self.options.sums,
|
||||
type: 'info',
|
||||
unique: self.options.unique
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue