|
|
@ -170,9 +170,9 @@ |
|
|
|
this.element = BI.Widget._renderEngine.createElement(this); |
|
|
|
this.element = BI.Widget._renderEngine.createElement(this); |
|
|
|
} |
|
|
|
} |
|
|
|
this.element._isWidget = true; |
|
|
|
this.element._isWidget = true; |
|
|
|
// var widgets = this.element.data("_Widgets") || [];
|
|
|
|
var widgets = this.element.data("__widgets") || []; |
|
|
|
// widgets.push(this);
|
|
|
|
widgets.push(this); |
|
|
|
// this.element.data("_Widgets", widgets);
|
|
|
|
this.element.data("__widgets", widgets); |
|
|
|
this._initCurrent(); |
|
|
|
this._initCurrent(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|