Author: vmolotkov
Date: 2008-07-16 13:11:31 -0400 (Wed, 16 Jul 2008)
New Revision: 9642
Modified:
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
Log:
https://jira.jboss.com/jira/browse/RF-2009
Modified:
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
===================================================================
---
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-07-16
15:55:57 UTC (rev 9641)
+++
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-07-16
17:11:31 UTC (rev 9642)
@@ -470,6 +470,9 @@
this.toolTip.style.left = "0px";
var offsets = Richfaces.ToolTip.cumulativeOffset(this.toolTip);
+
+ var offsetWidth = this.toolTip.offsetWidth;
+ var offsetHeight = this.toolTip.offsetHeight;
this.toolTip.style.visibility = _visibility;
this.toolTip.style.display = _display;
@@ -502,6 +505,9 @@
{
this.iframe.style.top = (coords.y - this.toolTipBorderHeight) + 'px';
this.iframe.style.left = (coords.x - this.toolTipBorderWidth) + 'px';
+
+ this.iframe.style.width = offsetWidth + 'px';
+ this.iframe.style.height = offsetHeight + 'px';
}
this.eventCopy = A4J.AJAX.CloneObject(e, false);
},