|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
var injectSearchSearchStop = BI.Searcher.prototype._stopSearch; |
|
|
|
|
var injectTooltipsShow = BI.TooltipsController.prototype.show; |
|
|
|
|
var injectSwitcherPopup = BI.Switcher.prototype.populate; |
|
|
|
|
var injectSwitcheradjustView = BI.Switcher.prototype.adjustView; |
|
|
|
|
var injectSwitcherAdjustView = BI.Switcher.prototype.adjustView; |
|
|
|
|
|
|
|
|
|
var injectCreate = BI.createWidget; |
|
|
|
|
var callback = function () {}; |
|
|
|
@ -357,7 +357,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
BI.Searcher.prototype._stopSearch = function () { |
|
|
|
|
injectSearchSearchStop.call(this, arguments); |
|
|
|
|
injectSearchSearchStop.apply(this, arguments); |
|
|
|
|
if (this.popupView && this.popupView.element[0].parentElement) { |
|
|
|
|
this.popupView.element[0].parentElement.style.transform = ""; |
|
|
|
|
this.popupView.element[0].parentElement.style.transformOrigin = ""; |
|
|
|
@ -365,8 +365,8 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// switcher
|
|
|
|
|
BI.Switcher.prototype.populate = function () { |
|
|
|
|
injectSwitcherPopup.call(this, arguments); |
|
|
|
|
BI.Switcher.prototype.populate = function (items) { |
|
|
|
|
injectSwitcherPopup.apply(this, arguments); |
|
|
|
|
if (this.popupView) { |
|
|
|
|
this.popupView.element[0].parentElement.style.left = parseInt(this.popupView.element[0].parentElement.style.left) * scale + "px"; |
|
|
|
|
this.popupView.element[0].parentElement.style.top = parseInt(this.popupView.element[0].parentElement.style.top) * scale + "px"; |
|
|
|
@ -375,7 +375,7 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
BI.Switcher.prototype.adjustView = function () { |
|
|
|
|
injectSwitcheradjustView.call(this, arguments); |
|
|
|
|
injectSwitcherAdjustView.apply(this, arguments); |
|
|
|
|
if (this.popupView) { |
|
|
|
|
this.popupView.element[0].parentElement.style.left = parseInt(this.popupView.element[0].parentElement.style.left) * scale + "px"; |
|
|
|
|
this.popupView.element[0].parentElement.style.top = parseInt(this.popupView.element[0].parentElement.style.top) * scale + "px"; |
|
|
|
@ -491,7 +491,7 @@
|
|
|
|
|
|
|
|
|
|
callback = function () {} |
|
|
|
|
BI.Switcher.prototype.populate = injectSwitcherPopup; |
|
|
|
|
BI.Switcher.prototype.adjustView = injectSwitcheradjustView; |
|
|
|
|
BI.Switcher.prototype.adjustView = injectSwitcherAdjustView; |
|
|
|
|
BI.TooltipsController.prototype.show = injectTooltipsShow; |
|
|
|
|
|
|
|
|
|
document.body.onmousedown = null; |
|
|
|
|