Browse Source

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

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

* commit '56b985c8a0f435b89729564456805e7a41f32153':
  整理一下
master
guy 4 years ago
parent
commit
0e1d1409ef
  1. 4
      src/component/allvaluechooser/combo.allvaluechooser.js
  2. 4
      src/component/allvaluechooser/pane.allvaluechooser.js
  3. 4
      src/component/valuechooser/combo.valuechooser.insert.js
  4. 4
      src/component/valuechooser/combo.valuechooser.js
  5. 4
      src/component/valuechooser/pane.valuechooser.js

4
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);
BI.shortcut("bi.all_value_chooser_combo", BI.AllValueChooserCombo);

4
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);
BI.shortcut("bi.all_value_chooser_pane", BI.AllValueChooserPane);

4
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);
BI.shortcut("bi.value_chooser_insert_combo", BI.ValueChooserInsertCombo);

4
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);
BI.shortcut("bi.value_chooser_combo", BI.ValueChooserCombo);

4
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);
BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);

Loading…
Cancel
Save