diff --git a/src/component/allvaluechooser/combo.allvaluechooser.js b/src/component/allvaluechooser/combo.allvaluechooser.js index fa9b5bcbf7..db8bb17321 100644 --- a/src/component/allvaluechooser/combo.allvaluechooser.js +++ b/src/component/allvaluechooser/combo.allvaluechooser.js @@ -62,8 +62,8 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, { populate: function (items) { // 直接用combo的populate不会作用到AbstractValueChooser上 this.items = items; - this.combo.populate.apply(this.combo, arguments); + this.combo.populate(); } }); BI.AllValueChooserCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.all_value_chooser_combo", BI.AllValueChooserCombo); \ No newline at end of file +BI.shortcut("bi.all_value_chooser_combo", BI.AllValueChooserCombo); diff --git a/src/component/allvaluechooser/pane.allvaluechooser.js b/src/component/allvaluechooser/pane.allvaluechooser.js index c7c1e4cffc..4c45073419 100644 --- a/src/component/allvaluechooser/pane.allvaluechooser.js +++ b/src/component/allvaluechooser/pane.allvaluechooser.js @@ -57,8 +57,8 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, { populate: function (items) { // 直接用combo的populate不会作用到AbstractValueChooser上 this.items = items; - this.list.populate.apply(this.list, arguments); + this.list.populate(); } }); BI.AllValueChooserPane.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.all_value_chooser_pane", BI.AllValueChooserPane); \ No newline at end of file +BI.shortcut("bi.all_value_chooser_pane", BI.AllValueChooserPane); diff --git a/src/component/valuechooser/combo.valuechooser.insert.js b/src/component/valuechooser/combo.valuechooser.insert.js index 2589a85a46..8404575648 100644 --- a/src/component/valuechooser/combo.valuechooser.insert.js +++ b/src/component/valuechooser/combo.valuechooser.insert.js @@ -89,7 +89,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { populate: function (items) { // 直接用combo的populate不会作用到AbstractValueChooser上 this.items = items; - this.combo.populate.apply(this.combo, arguments); + this.combo.populate(); } }); @@ -99,4 +99,4 @@ BI.ValueChooserInsertCombo.EVENT_STOP = "EVENT_STOP"; BI.ValueChooserInsertCombo.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.ValueChooserInsertCombo.EVENT_CLICK_ITEM = "EVENT_CLICK_ITEM"; BI.ValueChooserInsertCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.value_chooser_insert_combo", BI.ValueChooserInsertCombo); \ No newline at end of file +BI.shortcut("bi.value_chooser_insert_combo", BI.ValueChooserInsertCombo); diff --git a/src/component/valuechooser/combo.valuechooser.js b/src/component/valuechooser/combo.valuechooser.js index 1cb49c6f5a..1dc34d4d49 100644 --- a/src/component/valuechooser/combo.valuechooser.js +++ b/src/component/valuechooser/combo.valuechooser.js @@ -93,7 +93,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { populate: function (items) { // 直接用combo的populate不会作用到AbstractValueChooser上 this.items = items; - this.combo.populate.apply(this.combo, arguments); + this.combo.populate(); } }); @@ -103,4 +103,4 @@ BI.ValueChooserCombo.EVENT_STOP = "EVENT_STOP"; BI.ValueChooserCombo.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.ValueChooserCombo.EVENT_CLICK_ITEM = "EVENT_CLICK_ITEM"; BI.ValueChooserCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.value_chooser_combo", BI.ValueChooserCombo); \ No newline at end of file +BI.shortcut("bi.value_chooser_combo", BI.ValueChooserCombo); diff --git a/src/component/valuechooser/pane.valuechooser.js b/src/component/valuechooser/pane.valuechooser.js index c92c828793..6d464e3378 100644 --- a/src/component/valuechooser/pane.valuechooser.js +++ b/src/component/valuechooser/pane.valuechooser.js @@ -61,8 +61,8 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { populate: function (items) { // 直接用combo的populate不会作用到AbstractValueChooser上 items && (this.items = items); - this.list.populate.apply(this.list, arguments); + this.list.populate(); } }); BI.ValueChooserPane.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane); \ No newline at end of file +BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);