diff --git a/dist/bundle.js b/dist/bundle.js index 5f0b98826..6621e5918 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -12521,6 +12521,7 @@ BI.Widget = BI.inherit(BI.OB, { this._initElement(); this._initEffects(); this.created && this.created(); + this._children = {}; }, /** @@ -12531,7 +12532,6 @@ BI.Widget = BI.inherit(BI.OB, { var o = this.options; this.widgetName = o.widgetName || BI.uniqueId("widget"); this._isRoot = o.root; - this._children = {}; if (BI.isWidget(o.element)) { if (o.element instanceof BI.Widget) { this._parent = o.element; @@ -12559,6 +12559,7 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } + this._children = {}; }, _initElementWidth: function () { diff --git a/dist/core.js b/dist/core.js index 68e14c3fe..d0db9af61 100644 --- a/dist/core.js +++ b/dist/core.js @@ -12521,6 +12521,7 @@ BI.Widget = BI.inherit(BI.OB, { this._initElement(); this._initEffects(); this.created && this.created(); + this._children = {}; }, /** @@ -12531,7 +12532,6 @@ BI.Widget = BI.inherit(BI.OB, { var o = this.options; this.widgetName = o.widgetName || BI.uniqueId("widget"); this._isRoot = o.root; - this._children = {}; if (BI.isWidget(o.element)) { if (o.element instanceof BI.Widget) { this._parent = o.element; @@ -12559,6 +12559,7 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } + this._children = {}; }, _initElementWidth: function () { diff --git a/dist/fineui.js b/dist/fineui.js index 5840876c5..d44f964d0 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -12694,6 +12694,7 @@ BI.Widget = BI.inherit(BI.OB, { this._initElement(); this._initEffects(); this.created && this.created(); + this._children = {}; }, /** @@ -12704,7 +12705,6 @@ BI.Widget = BI.inherit(BI.OB, { var o = this.options; this.widgetName = o.widgetName || BI.uniqueId("widget"); this._isRoot = o.root; - this._children = {}; if (BI.isWidget(o.element)) { if (o.element instanceof BI.Widget) { this._parent = o.element; @@ -12732,6 +12732,7 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } + this._children = {}; }, _initElementWidth: function () { diff --git a/src/core/widget.js b/src/core/widget.js index b4f99b19c..1592b796c 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -64,6 +64,7 @@ BI.Widget = BI.inherit(BI.OB, { this._initElement(); this._initEffects(); this.created && this.created(); + this._children = {}; }, /** @@ -74,7 +75,6 @@ BI.Widget = BI.inherit(BI.OB, { var o = this.options; this.widgetName = o.widgetName || BI.uniqueId("widget"); this._isRoot = o.root; - this._children = {}; if (BI.isWidget(o.element)) { if (o.element instanceof BI.Widget) { this._parent = o.element;