Browse Source

Pull request #1372: update

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'b4b87046fd110304866bed023766044669c32db3':
  update
es6
guy 5 years ago
parent
commit
de1b668a9a
  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