|
|
|
@ -285,13 +285,11 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
_itemsCreator4Trigger: function (op, callback) { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.itemsCreator(op, function (res) { |
|
|
|
|
var args = Array.prototype.slice.call(arguments); |
|
|
|
|
if (op.times === 1 && BI.isNotNull(op.keywords)) { |
|
|
|
|
// 预防trigger内部把当前的storeValue改掉
|
|
|
|
|
self.trigger.setValue(BI.deepClone(self.getValue())); |
|
|
|
|
} |
|
|
|
|
args.push(op); |
|
|
|
|
callback.apply(self, args); |
|
|
|
|
callback.apply(self, arguments); |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|