|
|
@ -15109,15 +15109,16 @@ BI.FloatBox = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
populate: function (sectionProvider) { |
|
|
|
populate: function (sectionProvider) { |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
|
|
|
|
if (this.currentSectionProvider && this.currentSectionProvider !== sectionProvider) { |
|
|
|
|
|
|
|
this.currentSectionProvider.destroy(); |
|
|
|
|
|
|
|
} |
|
|
|
this.currentSectionProvider = sectionProvider; |
|
|
|
this.currentSectionProvider = sectionProvider; |
|
|
|
sectionProvider.rebuildNorth(this._north); |
|
|
|
sectionProvider.rebuildNorth(this._north); |
|
|
|
sectionProvider.rebuildCenter(this._center); |
|
|
|
sectionProvider.rebuildCenter(this._center); |
|
|
|
sectionProvider.rebuildSouth(this._south); |
|
|
|
sectionProvider.rebuildSouth(this._south); |
|
|
|
if (sectionProvider instanceof BI.Widget) { |
|
|
|
|
|
|
|
sectionProvider.on(BI.PopoverSection.EVENT_CLOSE, function () { |
|
|
|
sectionProvider.on(BI.PopoverSection.EVENT_CLOSE, function () { |
|
|
|
self.close(); |
|
|
|
self.close(); |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
show: function () { |
|
|
|
show: function () { |
|
|
@ -15140,6 +15141,10 @@ BI.FloatBox = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
setZindex: function (zindex) { |
|
|
|
setZindex: function (zindex) { |
|
|
|
this.element.css({"z-index": zindex}); |
|
|
|
this.element.css({"z-index": zindex}); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
destroyed: function () { |
|
|
|
|
|
|
|
this.currentSectionProvider && this.currentSectionProvider.destroy(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|