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