[richfaces-issues] [JBoss JIRA] Created: (RF-1845) rich:tooltip under h:inputText don't hide on blur (using TAB key), when event is set to "onfocus". with on click works fine.
Simon Himelreich (JIRA)
jira-events at lists.jboss.org
Tue Jan 8 06:19:44 EST 2008
rich:tooltip under h:inputText don't hide on blur (using TAB key), when event is set to "onfocus". with on click works fine.
----------------------------------------------------------------------------------------------------------------------------
Key: RF-1845
URL: http://jira.jboss.com/jira/browse/RF-1845
Project: RichFaces
Issue Type: Patch
Affects Versions: 3.1.3
Environment: Windows Vista
JBoss AS 4.0.2
Mozilla Firefox 2.0.0.11
Reporter: Simon Himelreich
When wlaking throught input form elements with TAB key, tooltip does not hide when leaving focus of the h:inputText element.
I added some code in tooltip.js under /org/richfaces/renderkit/html/scripts/tooltip.js and now it works fine
Uder line 84:
if ("focus" == this.event) {
Event.stopObserving(this.parent, "blur", this.doHideListner, false);
Event.stopObserving(this.toolTip, 'blur', this.leaveToolTipListner, false);
} else {
Event.stopObserving(this.parent, "mouseout", this.doHideListner, false);
Event.stopObserving(this.toolTip, 'mouseout', this.leaveToolTipListner, false);
}
Under line 141:
if ("focus" == this.event) {
Event.observe(this.parent, "blur", this.doHideListner, false);
Event.observe(this.toolTip, 'blur', this.leaveToolTipListner, false);
} else {
Event.observe(this.parent, "mouseout", this.doHideListner, false);
Event.observe(this.toolTip, 'mouseout', this.leaveToolTipListner, false);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list