Author: nbelaevski
Date: 2008-09-08 12:52:36 -0400 (Mon, 08 Sep 2008)
New Revision: 10358
Modified:
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
Log:
https://jira.jboss.org/jira/browse/RF-4418
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-09-08
16:51:20 UTC (rev 10357)
+++
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-09-08
16:52:36 UTC (rev 10358)
@@ -162,8 +162,9 @@
ffcheck: function(relTarg)
{
+ var parentTagName = this.parent.tagName.toLowerCase();
// FF fix [Exception... "'Permission denied to get property
HTMLDivElement.parentNode' when calling method...]
- if (this.parent.tagName.toLowerCase()=="input" && relTarg) {
+ if ((parentTagName == "input" || parentTagName == "textarea")
&& relTarg) {
var className;
try {
className = relTarg.className;