]
Tsikhon Kuprevich closed RF-1845.
---------------------------------
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
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: