@ -284,13 +284,11 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
var self = this;
var 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);
});
},
@ -285,13 +285,11 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
_itemsCreator4Trigger: function (op, callback) {
var self = this, o = this.options;
@ -62,12 +62,10 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
itemsCreator: function (op, callback) {
var keyword = self.editor.getKeyword();
op.keywords = [keyword];
self.op = op;
this.setKeyword(keyword);
o.itemsCreator(op, function () {
if (BI.last(args) === self.op) {
callback.apply(null, args);
if (keyword === self.editor.getValue()) {
callback.apply(null, arguments);