|
|
@ -11202,7 +11202,7 @@ BI.Layout = BI.inherit(BI.Widget, { |
|
|
|
this.options.items = newItems; |
|
|
|
this.options.items = newItems; |
|
|
|
this._children = newChildren; |
|
|
|
this._children = newChildren; |
|
|
|
BI.each(deleted, function (i, c) { |
|
|
|
BI.each(deleted, function (i, c) { |
|
|
|
c.destroy(); |
|
|
|
c._destroy(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -11227,7 +11227,7 @@ BI.Layout = BI.inherit(BI.Widget, { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
w.element.prependTo(this._getWrapper()); |
|
|
|
w.element.prependTo(this._getWrapper()); |
|
|
|
} |
|
|
|
} |
|
|
|
del.destroy(); |
|
|
|
del._destroy(); |
|
|
|
w._mount(); |
|
|
|
w._mount(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -11314,7 +11314,7 @@ BI.Layout = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
o.items.splice(items.length); |
|
|
|
o.items.splice(items.length); |
|
|
|
BI.each(deleted, function (i, w) { |
|
|
|
BI.each(deleted, function (i, w) { |
|
|
|
w.destroy(); |
|
|
|
w._destroy(); |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else if (items.length > o.items.length) { |
|
|
|
} else if (items.length > o.items.length) { |
|
|
|
for (i = o.items.length; i < items.length; i++) { |
|
|
|
for (i = o.items.length; i < items.length; i++) { |
|
|
|