diff --git a/src/widget/multiselect/multiselect.combo.js b/src/widget/multiselect/multiselect.combo.js index 07294aae5b..f9f94a9e4f 100644 --- a/src/widget/multiselect/multiselect.combo.js +++ b/src/widget/multiselect/multiselect.combo.js @@ -424,7 +424,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { populate: function () { this.combo.populate.apply(this.combo, arguments); - this.numberCounter.populate.apply(this.numberCounter, arguments); + this.numberCounter.populateSwitcher.apply(this.numberCounter, arguments); } }); diff --git a/src/widget/multiselect/multiselect.combo.nobar.js b/src/widget/multiselect/multiselect.combo.nobar.js index 35435a6250..79b6a1474f 100644 --- a/src/widget/multiselect/multiselect.combo.nobar.js +++ b/src/widget/multiselect/multiselect.combo.nobar.js @@ -420,7 +420,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, { populate: function () { this.combo.populate.apply(this.combo, arguments); - this.numberCounter.populate.apply(this.numberCounter, arguments); + this.numberCounter.populateSwitcher.apply(this.numberCounter, arguments); } }); diff --git a/src/widget/multiselect/multiselect.insert.combo.js b/src/widget/multiselect/multiselect.insert.combo.js index a953ba0188..457c4fadf4 100644 --- a/src/widget/multiselect/multiselect.insert.combo.js +++ b/src/widget/multiselect/multiselect.insert.combo.js @@ -441,7 +441,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { populate: function () { this.combo.populate.apply(this.combo, arguments); - this.numberCounter.populate.apply(this.numberCounter, arguments); + this.numberCounter.populateSwitcher.apply(this.numberCounter, arguments); } }); diff --git a/src/widget/multiselect/multiselect.insert.combo.nobar.js b/src/widget/multiselect/multiselect.insert.combo.nobar.js index 6f78f79d9d..0e39286b18 100644 --- a/src/widget/multiselect/multiselect.insert.combo.nobar.js +++ b/src/widget/multiselect/multiselect.insert.combo.nobar.js @@ -438,7 +438,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, { populate: function () { this.combo.populate.apply(this.combo, arguments); - this.numberCounter.populate.apply(this.numberCounter, arguments); + this.numberCounter.populateSwitcher.apply(this.numberCounter, arguments); } }); diff --git a/src/widget/multiselect/trigger/switcher.checkselected.js b/src/widget/multiselect/trigger/switcher.checkselected.js index 755619d1c8..4ca37a0f8c 100644 --- a/src/widget/multiselect/trigger/switcher.checkselected.js +++ b/src/widget/multiselect/trigger/switcher.checkselected.js @@ -96,6 +96,10 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, { populate: function (items) { this.switcher.populate.apply(this.switcher, arguments); + }, + + populateSwitcher: function () { + this.button.populate.apply(this.switcher, arguments); } });