[richfaces-issues] [JBoss JIRA] Created: (RF-1897) Tooltip: excess JS functions created

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Jan 11 21:45:19 EST 2008


Tooltip: excess JS functions created
------------------------------------

                 Key: RF-1897
                 URL: http://jira.jboss.com/jira/browse/RF-1897
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: Nick Belaevski
         Assigned To: Alexej Kushunin
             Fix For: 3.2.0


Consider org.richfaces.renderkit.OrderingComponentRendererBase#getAsEventHandler(FacesContext, UIComponent, String) function usage to get rid of:

		this.onshow = new Function('event', events.onshow + ';return true;');
		this.oncomplete = new Function('event', events.oncomplete + ';return true;');
		this.onhide =  new Function('event', events.onhide + ';return true;');

code in tooltip.js

Move method to RendererUtils, add extra argument for appendable string (e.g. "return true;")

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list