guy 8 years ago
parent
commit
8f0e527980
  1. 4
      bi/core.js
  2. 4
      dist/core.js
  3. 4
      src/core/controller/controller.floatbox.js

4
bi/core.js

@ -15684,6 +15684,7 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
} }
if (!this.floatContainer[name].isVisible()) {
var container = this.floatContainer[name]; var container = this.floatContainer[name];
container.element.css("zIndex", this.zindex++); container.element.css("zIndex", this.zindex++);
this.modal && container.element.__hasZIndexMask__(this.zindexMap[name]) && container.element.__releaseZIndexMask__(this.zindexMap[name]); this.modal && container.element.__hasZIndexMask__(this.zindexMap[name]) && container.element.__releaseZIndexMask__(this.zindexMap[name]);
@ -15706,6 +15707,7 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
left: left + "px", left: left + "px",
top: top + "px" top: top + "px"
}); });
}
return this; return this;
}, },
@ -15713,8 +15715,10 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
} }
if (this.floatContainer[name].isVisible()) {
this.floatContainer[name].invisible(); this.floatContainer[name].invisible();
this.modal && this.floatContainer[name].element.__releaseZIndexMask__(this.zindexMap[name]); this.modal && this.floatContainer[name].element.__releaseZIndexMask__(this.zindexMap[name]);
}
return this; return this;
}, },

4
dist/core.js vendored

@ -20757,6 +20757,7 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
} }
if (!this.floatContainer[name].isVisible()) {
var container = this.floatContainer[name]; var container = this.floatContainer[name];
container.element.css("zIndex", this.zindex++); container.element.css("zIndex", this.zindex++);
this.modal && container.element.__hasZIndexMask__(this.zindexMap[name]) && container.element.__releaseZIndexMask__(this.zindexMap[name]); this.modal && container.element.__hasZIndexMask__(this.zindexMap[name]) && container.element.__releaseZIndexMask__(this.zindexMap[name]);
@ -20779,6 +20780,7 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
left: left + "px", left: left + "px",
top: top + "px" top: top + "px"
}); });
}
return this; return this;
}, },
@ -20786,8 +20788,10 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
} }
if (this.floatContainer[name].isVisible()) {
this.floatContainer[name].invisible(); this.floatContainer[name].invisible();
this.modal && this.floatContainer[name].element.__releaseZIndexMask__(this.zindexMap[name]); this.modal && this.floatContainer[name].element.__releaseZIndexMask__(this.zindexMap[name]);
}
return this; return this;
}, },

4
src/core/controller/controller.floatbox.js

@ -82,6 +82,7 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
} }
if (!this.floatContainer[name].isVisible()) {
var container = this.floatContainer[name]; var container = this.floatContainer[name];
container.element.css("zIndex", this.zindex++); container.element.css("zIndex", this.zindex++);
this.modal && container.element.__hasZIndexMask__(this.zindexMap[name]) && container.element.__releaseZIndexMask__(this.zindexMap[name]); this.modal && container.element.__hasZIndexMask__(this.zindexMap[name]) && container.element.__releaseZIndexMask__(this.zindexMap[name]);
@ -104,6 +105,7 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
left: left + "px", left: left + "px",
top: top + "px" top: top + "px"
}); });
}
return this; return this;
}, },
@ -111,8 +113,10 @@ BI.FloatBoxController = BI.inherit(BI.Controller, {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
} }
if (this.floatContainer[name].isVisible()) {
this.floatContainer[name].invisible(); this.floatContainer[name].invisible();
this.modal && this.floatContainer[name].element.__releaseZIndexMask__(this.zindexMap[name]); this.modal && this.floatContainer[name].element.__releaseZIndexMask__(this.zindexMap[name]);
}
return this; return this;
}, },

Loading…
Cancel
Save