Browse Source

Pull request #1424: 无JIRA任务 整理一下

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '56b985c8a0f435b89729564456805e7a41f32153':
  整理一下
es6
guy 4 years ago
parent
commit
0e1d1409ef
  1. 2
      src/component/allvaluechooser/combo.allvaluechooser.js
  2. 2
      src/component/allvaluechooser/pane.allvaluechooser.js
  3. 2
      src/component/valuechooser/combo.valuechooser.insert.js
  4. 2
      src/component/valuechooser/combo.valuechooser.js
  5. 2
      src/component/valuechooser/pane.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.combo, arguments);
this.combo.populate();
}
});
BI.AllValueChooserCombo.EVENT_CONFIRM = "EVENT_CONFIRM";

2
src/component/allvaluechooser/pane.allvaluechooser.js

@ -57,7 +57,7 @@ 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";

2
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();
}
});

2
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();
}
});

2
src/component/valuechooser/pane.valuechooser.js

@ -61,7 +61,7 @@ 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";

Loading…
Cancel
Save