|
|
@ -100,14 +100,15 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
if (obj instanceof BI.MultiSelectBar) { |
|
|
|
if (obj instanceof BI.MultiSelectBar) { |
|
|
|
self._joinAll(this.getValue(), function () { |
|
|
|
self._joinAll(this.getValue(), function () { |
|
|
|
assertShowValue(); |
|
|
|
assertShowValue(); |
|
|
|
|
|
|
|
self.fireEvent(BI.MultiSelectCombo.EVENT_CLICK_ITEM); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
self._join(this.getValue(), function () { |
|
|
|
self._join(this.getValue(), function () { |
|
|
|
assertShowValue(); |
|
|
|
assertShowValue(); |
|
|
|
|
|
|
|
self.fireEvent(BI.MultiSelectCombo.EVENT_CLICK_ITEM); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
self._dataChange = true; |
|
|
|
self._dataChange = true; |
|
|
|
self.fireEvent(BI.MultiSelectCombo.EVENT_CLICK_ITEM); |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.on(BI.MultiSelectTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
this.trigger.on(BI.MultiSelectTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
// counter的值随点击项的改变而改变, 点击counter的时候不需要setValue(counter会请求刷新计数)
|
|
|
|
// counter的值随点击项的改变而改变, 点击counter的时候不需要setValue(counter会请求刷新计数)
|
|
|
@ -412,8 +413,8 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
change && (this.storeValue.value = BI.values(map)); |
|
|
|
change && (this.storeValue.value = BI.values(map)); |
|
|
|
self._adjust(callback); |
|
|
|
self._adjust(callback); |
|
|
|
|
|
|
|
|
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
this._joinAll(res, callback); |
|
|
|
this._joinAll(res, callback); |
|
|
|
}, |
|
|
|
}, |
|
|
|