|
|
|
@ -179,8 +179,7 @@ BI.BubblesController = BI.inherit(BI.Controller, {
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
var position = this._getTopPosition(name, context, offsetStyle); |
|
|
|
|
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset}); |
|
|
|
|
if (!BI.DOM.isTopSpaceEnough(context, this.get(name), adjustYOffset)) { |
|
|
|
@ -212,7 +211,10 @@ BI.BubblesController = BI.inherit(BI.Controller, {
|
|
|
|
|
}); |
|
|
|
|
this.set(name, this.storeBubbles[name]["right"]); |
|
|
|
|
var position = this._getRightPosition(name, context, offsetStyle); |
|
|
|
|
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset}); |
|
|
|
|
this.get(name).element.css({ |
|
|
|
|
left: position.left + adjustXOffset, |
|
|
|
|
top: position.top - adjustYOffset |
|
|
|
|
}); |
|
|
|
|
if (!BI.DOM.isRightSpaceEnough(context, this.get(name), adjustXOffset)) { |
|
|
|
|
this.get(name).invisible(); |
|
|
|
|
if (!this.storeBubbles[name]["left"]) { |
|
|
|
@ -234,6 +236,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.get(name).setText(text); |
|
|
|
|
this.get(name).visible(); |
|
|
|
|
return this; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|