Author: nbelaevski
Date: 2008-09-08 12:51:20 -0400 (Mon, 08 Sep 2008)
New Revision: 10357
Modified:
branches/3.2.x/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
Log:
https://jira.jboss.org/jira/browse/RF-4418
Modified:
branches/3.2.x/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
===================================================================
---
branches/3.2.x/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-09-08
16:38:59 UTC (rev 10356)
+++
branches/3.2.x/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-09-08
16:51:20 UTC (rev 10357)
@@ -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;