Author: sergeyhalipov
Date: 2008-04-28 08:14:04 -0400 (Mon, 28 Apr 2008)
New Revision: 8228
Modified:
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
Log:
http://jira.jboss.com/jira/browse/RF-2817
http://jira.jboss.com/jira/browse/RF-3185
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-04-28
12:13:34 UTC (rev 8227)
+++
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-04-28
12:14:04 UTC (rev 8228)
@@ -130,6 +130,9 @@
attachOnLoadEvents: function(){
if(!this.parentAttached){
+ if (!this.parent) {
+ this.parent = $(this.parentId);
+ }
if(this.parent != null && !this.disabled){
this.attachParentEvents();
this.parentAttached = true;