windy 5 years ago
parent
commit
2124feb089
  1. 2
      src/component/allvaluechooser/combo.allvaluechooser.js
  2. 2
      src/component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo.js
  3. 2
      src/component/valuechooser/combo.valuechooser.insert.js
  4. 2
      src/component/valuechooser/combo.valuechooser.js

2
src/component/allvaluechooser/combo.allvaluechooser.js

@ -62,7 +62,7 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments);
this.combo.populate.apply(this.combo, arguments);
}
});
BI.AllValueChooserCombo.EVENT_CONFIRM = "EVENT_CONFIRM";

2
src/component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo.js

@ -51,7 +51,7 @@ BI.AllValueMultiTextValueCombo = BI.inherit(BI.Widget, {
populate: function (items) {
this.options.items = items;
this.combo.populate.apply(this, arguments);
this.combo.populate.apply(this.combo, arguments);
},
_digestValue: function (v) {

2
src/component/valuechooser/combo.valuechooser.insert.js

@ -80,7 +80,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments);
this.combo.populate.apply(this.combo, arguments);
}
});

2
src/component/valuechooser/combo.valuechooser.js

@ -84,7 +84,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments);
this.combo.populate.apply(this.combo, arguments);
}
});

Loading…
Cancel
Save