[richfaces-issues] [JBoss JIRA] Commented: (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.
Svetlana mukhina (JIRA)
jira-events at lists.jboss.org
Wed Feb 6 11:11:05 EST 2008
[ http://jira.jboss.com/jira/browse/RF-1845?page=comments#action_12398496 ]
Svetlana mukhina commented on RF-1845:
--------------------------------------
added in guide
> 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
> Assigned To: Tsikhon Kuprevich
> Fix For: 3.2.0
>
>
> 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