Browse Source

update

master
guy 4 years ago
parent
commit
89a6b3c7fc
  1. 1
      src/base/list/listview.js
  2. 1
      src/base/list/virtuallist.js

1
src/base/list/listview.js

@ -105,6 +105,7 @@ BI.ListView = BI.inherit(BI.Widget, {
populate: function (items) { populate: function (items) {
if (items && this.options.items !== items) { if (items && this.options.items !== items) {
this.options.items = items;
this.restore(); this.restore();
} }
this._populate(items); this._populate(items);

1
src/base/list/virtuallist.js

@ -173,6 +173,7 @@ BI.VirtualList = BI.inherit(BI.Widget, {
populate: function (items) { populate: function (items) {
if (items && this.options.items !== items) { if (items && this.options.items !== items) {
this.options.items = items;
this.restore(); this.restore();
} }
this._populate(items); this._populate(items);

Loading…
Cancel
Save