guy 8 years ago
parent
commit
f7f1ae5d38
  1. 4
      bi/base.js
  2. 4
      dist/base.js
  3. 4
      src/base/combination/group.virtual.js

4
bi/base.js

@ -3640,11 +3640,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

@ -3640,11 +3640,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

@ -71,11 +71,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