|
|
|
@ -12871,7 +12871,7 @@ BI.Layout = BI.inherit(BI.Widget, {
|
|
|
|
|
for (var i = this.options.items.length; i > index; i--) { |
|
|
|
|
this._children[this._getChildName(i)] = this._children[this._getChildName(i - 1)]; |
|
|
|
|
} |
|
|
|
|
delete this._children[index]; |
|
|
|
|
delete this._children[this._getChildName(index)]; |
|
|
|
|
this.options.items.splice(index, 0, item); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -12879,6 +12879,7 @@ BI.Layout = BI.inherit(BI.Widget, {
|
|
|
|
|
for (var i = index; i < this.options.items.length - 1; i++) { |
|
|
|
|
this._children[this._getChildName(i)] = this._children[this._getChildName(i + 1)]; |
|
|
|
|
} |
|
|
|
|
delete this._children[this._getChildName(this.options.items.length - 1)]; |
|
|
|
|
this.options.items.splice(index, 1); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -13038,6 +13039,11 @@ BI.Layout = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
empty: function () { |
|
|
|
|
BI.Layout.superclass.empty.apply(this, arguments); |
|
|
|
|
this.options.items = []; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
items = items || []; |
|
|
|
|