|
|
@ -65,14 +65,7 @@ |
|
|
|
BI.Widget.prototype._init = function () { |
|
|
|
BI.Widget.prototype._init = function () { |
|
|
|
var needPop = false; |
|
|
|
var needPop = false; |
|
|
|
if (window.Fix && this._store) { |
|
|
|
if (window.Fix && this._store) { |
|
|
|
var store = findStore(this.options.element); |
|
|
|
|
|
|
|
if (store) { |
|
|
|
|
|
|
|
pushTarget(store); |
|
|
|
|
|
|
|
needPop = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.store = this._store(); |
|
|
|
this.store = this._store(); |
|
|
|
needPop && popTarget(); |
|
|
|
|
|
|
|
needPop = false; |
|
|
|
|
|
|
|
pushTarget(this.store); |
|
|
|
pushTarget(this.store); |
|
|
|
if (this.store instanceof Fix.Model) { |
|
|
|
if (this.store instanceof Fix.Model) { |
|
|
|
this.model = this.store.model; |
|
|
|
this.model = this.store.model; |
|
|
|