diff --git a/dist/bundle.js b/dist/bundle.js index 9c8c8ab55..2426b7bf0 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -12517,6 +12517,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12558,7 +12559,6 @@ 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 d538f6451..a70bcd09f 100644 --- a/dist/core.js +++ b/dist/core.js @@ -12517,6 +12517,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12558,7 +12559,6 @@ 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 31ff82107..7bde1f0d5 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -12690,6 +12690,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12731,7 +12732,6 @@ 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 35a489e9a..4e49504be 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -60,6 +60,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -101,7 +102,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () {