|
|
@ -74,25 +74,20 @@ BI.Pane = BI.inherit(BI.Widget, { |
|
|
|
width: 5 |
|
|
|
width: 5 |
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
var loadingGif = BI.createWidget({ |
|
|
|
(BI.isIE() && BI.getIEVersion() < 10) && loadingAnimation.element.addClass("hack"); |
|
|
|
type: "bi.layout", |
|
|
|
|
|
|
|
cls: "loading-background", |
|
|
|
|
|
|
|
height: 30 |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
var loadingEffect = (BI.isIE() && BI.getIEVersion() < 10) ? loadingGif : loadingAnimation; |
|
|
|
|
|
|
|
if (o.overlap === true) { |
|
|
|
if (o.overlap === true) { |
|
|
|
if (!BI.Layers.has(this.getName())) { |
|
|
|
if (!BI.Layers.has(this.getName())) { |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.absolute_center_adapt", |
|
|
|
type: "bi.absolute_center_adapt", |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
el: loadingEffect |
|
|
|
el: loadingAnimation |
|
|
|
}], |
|
|
|
}], |
|
|
|
element: BI.Layers.make(this.getName(), this) |
|
|
|
element: BI.Layers.make(this.getName(), this) |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
BI.Layers.show(self.getName()); |
|
|
|
BI.Layers.show(self.getName()); |
|
|
|
} else if (BI.isNull(this._loading)) { |
|
|
|
} else if (BI.isNull(this._loading)) { |
|
|
|
this._loading = loadingEffect; |
|
|
|
this._loading = loadingAnimation; |
|
|
|
this._loading.element.css("zIndex", 1); |
|
|
|
this._loading.element.css("zIndex", 1); |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.absolute_center_adapt", |
|
|
|
type: "bi.absolute_center_adapt", |
|
|
|