|
|
@ -185,7 +185,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
this.setValue(self.storeValue); |
|
|
|
this.setValue(self.storeValue); |
|
|
|
BI.nextTick(function () { |
|
|
|
BI.nextTick(function () { |
|
|
|
self.populate(); |
|
|
|
self._populate(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
// 当退出的时候如果还在处理请求,则等请求结束后再对外发确定事件
|
|
|
|
// 当退出的时候如果还在处理请求,则等请求结束后再对外发确定事件
|
|
|
@ -439,6 +439,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
this.popup.setStartValue(value); |
|
|
|
this.popup.setStartValue(value); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_populate: function () { |
|
|
|
|
|
|
|
this.combo.populate.apply(this.combo, arguments); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|
this.storeValue = v || {}; |
|
|
|
this.storeValue = v || {}; |
|
|
|
this._assertValue(this.storeValue); |
|
|
|
this._assertValue(this.storeValue); |
|
|
@ -451,7 +455,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
populate: function () { |
|
|
|
populate: function () { |
|
|
|
this.combo.populate.apply(this.combo, arguments); |
|
|
|
this._populate.apply(this, arguments); |
|
|
|
this.numberCounter.populateSwitcher.apply(this.numberCounter, arguments); |
|
|
|
this.numberCounter.populateSwitcher.apply(this.numberCounter, arguments); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|