|
|
|
@ -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); |
|
|
|
|