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