Author: sergeyhalipov
Date: 2008-01-18 14:42:19 -0500 (Fri, 18 Jan 2008)
New Revision: 5476
Modified:
trunk/ui/tooltip/src/main/java/org/richfaces/renderkit/html/ToolTipRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-1944
Modified:
trunk/ui/tooltip/src/main/java/org/richfaces/renderkit/html/ToolTipRenderer.java
===================================================================
---
trunk/ui/tooltip/src/main/java/org/richfaces/renderkit/html/ToolTipRenderer.java 2008-01-18
19:29:23 UTC (rev 5475)
+++
trunk/ui/tooltip/src/main/java/org/richfaces/renderkit/html/ToolTipRenderer.java 2008-01-18
19:42:19 UTC (rev 5476)
@@ -253,9 +253,9 @@
String ajaxFunc = function.toScript();
Map ajaxOptions = buildEventOptions(context, toolTip, targetClientId);
- JSFunctionDefinition completeFunc = getUtils().getAsEventHandler(context, component,
"oncoplete", "return true;");
- JSFunctionDefinition hideFunc = getUtils().getAsEventHandler(context,
component,"onhide", "return true;");
- JSFunctionDefinition showFunc = getUtils().getAsEventHandler(context,
component,"onshow", "return true;");
+ JSFunctionDefinition completeFunc = getUtils().getAsEventHandler(context, component,
"oncoplete", "; return true;");
+ JSFunctionDefinition hideFunc = getUtils().getAsEventHandler(context,
component,"onhide", "; return true;");
+ JSFunctionDefinition showFunc = getUtils().getAsEventHandler(context,
component,"onshow", "; return true;");
Map funcMap = new HashMap();
funcMap.put(new JSReference("oncomplete"), completeFunc);