|
|
@ -100,8 +100,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { |
|
|
|
addItems: function (items) { |
|
|
|
addItems: function (items) { |
|
|
|
this.count += items.length; |
|
|
|
this.count += items.length; |
|
|
|
if (BI.isObject(this.next)) { |
|
|
|
if (BI.isObject(this.next)) { |
|
|
|
if (this.hasNext()) { |
|
|
|
|
|
|
|
this.options.items = this.options.items.concat(items); |
|
|
|
this.options.items = this.options.items.concat(items); |
|
|
|
|
|
|
|
if (this.hasNext()) { |
|
|
|
this.next.setLoaded(); |
|
|
|
this.next.setLoaded(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.next.setEnd(); |
|
|
|
this.next.setEnd(); |
|
|
|