|
|
|
@ -148,7 +148,10 @@ BI.MultiSelectInnerLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
this.next.setEnd(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
var renderEngine = BI.Widget._renderEngine; |
|
|
|
|
BI.Widget.registerRenderEngine(BI.Element.renderEngine); |
|
|
|
|
this.cachGroup.addItems.apply(this.cachGroup, arguments); |
|
|
|
|
BI.Widget.registerRenderEngine(renderEngine); |
|
|
|
|
this.button_group.addItems.apply(this.button_group, arguments); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -184,7 +187,10 @@ BI.MultiSelectInnerLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
if (items.length > 100) { |
|
|
|
|
this.cachItems = items.slice(100); |
|
|
|
|
} |
|
|
|
|
var renderEngine = BI.Widget._renderEngine; |
|
|
|
|
BI.Widget.registerRenderEngine(BI.Element.renderEngine); |
|
|
|
|
this.cachGroup.populate.call(this.cachGroup, items, keyword); |
|
|
|
|
BI.Widget.registerRenderEngine(renderEngine); |
|
|
|
|
this.button_group.populate.call(this.button_group, items.slice(0, 100), keyword); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|