Browse Source

Merge pull request #14 in ~GUY/fineui from ~WINDY/fineui:2.0 to 2.0

* commit '3a943e43ee3c4569f031b78bf18a4f7e3e176c0a':
  update
  update
  update
es6
windy 8 years ago
parent
commit
4351a27a58
  1. 4
      bi/base.js
  2. 4
      dist/base.js
  3. 4
      src/base/combination/group.virtual.js

4
bi/base.js

@ -3636,11 +3636,11 @@ BI.shortcut("bi.combo_group", BI.ComboGroup);BI.VirtualGroup = BI.inherit(BI.Wid
var self = this; var self = this;
items = items || []; items = items || [];
this.options.items = items; this.options.items = items;
items = this._packageItems(items, this._packageBtns(items)); items = this._packageBtns(items);
if (!this.layouts) { if (!this.layouts) {
this.layouts = BI.createWidget(BI.extend({element: this}, this._packageLayout(items))); this.layouts = BI.createWidget(BI.extend({element: this}, this._packageLayout(items)));
} else { } else {
this.layouts.populate(this._packageLayout(items).items); this.layouts.populate(items);
} }
} }
}); });

4
dist/base.js vendored

@ -3636,11 +3636,11 @@ BI.shortcut("bi.combo_group", BI.ComboGroup);BI.VirtualGroup = BI.inherit(BI.Wid
var self = this; var self = this;
items = items || []; items = items || [];
this.options.items = items; this.options.items = items;
items = this._packageItems(items, this._packageBtns(items)); items = this._packageBtns(items);
if (!this.layouts) { if (!this.layouts) {
this.layouts = BI.createWidget(BI.extend({element: this}, this._packageLayout(items))); this.layouts = BI.createWidget(BI.extend({element: this}, this._packageLayout(items)));
} else { } else {
this.layouts.populate(this._packageLayout(items).items); this.layouts.populate(items);
} }
} }
}); });

4
src/base/combination/group.virtual.js

@ -67,11 +67,11 @@ BI.VirtualGroup = BI.inherit(BI.Widget, {
var self = this; var self = this;
items = items || []; items = items || [];
this.options.items = items; this.options.items = items;
items = this._packageItems(items, this._packageBtns(items)); items = this._packageBtns(items);
if (!this.layouts) { if (!this.layouts) {
this.layouts = BI.createWidget(BI.extend({element: this}, this._packageLayout(items))); this.layouts = BI.createWidget(BI.extend({element: this}, this._packageLayout(items)));
} else { } else {
this.layouts.populate(this._packageLayout(items).items); this.layouts.populate(items);
} }
} }
}); });

Loading…
Cancel
Save