|
|
@ -62,11 +62,14 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, { |
|
|
|
op.keywords = [keyword]; |
|
|
|
op.keywords = [keyword]; |
|
|
|
self.op = op; |
|
|
|
self.op = op; |
|
|
|
o.itemsCreator(op, function () { |
|
|
|
o.itemsCreator(op, function () { |
|
|
|
var args = Array.prototype.slice.call(arguments); |
|
|
|
var keyword = self.editor.getValue(); |
|
|
|
if (BI.last(args) === self.op) { |
|
|
|
op.keywords = [keyword]; |
|
|
|
callback.apply(null, args); |
|
|
|
o.itemsCreator(op, function () { |
|
|
|
|
|
|
|
if (keyword === self.editor.getValue()) { |
|
|
|
|
|
|
|
callback.apply(null, arguments); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
value: o.value |
|
|
|
value: o.value |
|
|
|