|
|
|
@ -195,7 +195,9 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
|
if (!this.isViewVisible()) { |
|
|
|
|
self._dataChange = false;// 标记数据是否发生变化
|
|
|
|
|
} |
|
|
|
|
this.setValue(self.storeValue); |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self._populate(); |
|
|
|
@ -290,7 +292,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}, |
|
|
|
|
right: o.height, |
|
|
|
|
top: 0, |
|
|
|
|
height: o.height, |
|
|
|
|
height: o.height |
|
|
|
|
}] |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -394,6 +396,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
adjust(); |
|
|
|
|
callback(); |
|
|
|
|
|
|
|
|
|
function adjust () { |
|
|
|
|
if (self.wants2Quit === true) { |
|
|
|
|
self._dataChange && self.fireEvent(BI.MultiSelectCombo.EVENT_CONFIRM); |
|
|
|
|