From 909184fbba247f71098634850e9656af27916f22 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 26 Oct 2012 16:46:14 +0200 Subject: [PATCH] add missing 'sums' option to IconList and InfoList --- source/Ox.UI/js/List/IconList.js | 3 +++ source/Ox.UI/js/List/InfoList.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/source/Ox.UI/js/List/IconList.js b/source/Ox.UI/js/List/IconList.js index 6829df1c..adf355d9 100644 --- a/source/Ox.UI/js/List/IconList.js +++ b/source/Ox.UI/js/List/IconList.js @@ -22,6 +22,7 @@ Ox.IconList IconList Object selected array of selected items size list size sort sort keys + sums <[s]|[]> Sums to be included in totals self Shared private variable ([options[, self]]) -> 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 }) diff --git a/source/Ox.UI/js/List/InfoList.js b/source/Ox.UI/js/List/InfoList.js index 02292ed6..ccde5d70 100644 --- a/source/Ox.UI/js/List/InfoList.js +++ b/source/Ox.UI/js/List/InfoList.js @@ -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 })