[richfaces-issues] [JBoss JIRA] Created: (RF-10221) Error when opening a popup panel

James Goodfellow (JIRA) jira-events at lists.jboss.org
Fri Jan 14 11:15:49 EST 2011


Error when opening a popup panel
--------------------------------

                 Key: RF-10221
                 URL: https://issues.jboss.org/browse/RF-10221
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-panels-layout-themes
    Affects Versions: 4.0.0.Milestone5
         Environment: myfaces 2.0.3, tomcat 6
            Reporter: James Goodfellow


When I call show or hide for a popup panel I get the following error: "fn is undefined" from firefox.
I believe the offening code is:  (in popupPanel.js)
   showPopupPanel : function (id, opts, event) {
      $(document).ready(richfaces.$(id).show());
   },
   hidePopupPanel : function (id, opts, event) {
      $(document).ready(richfaces.$(id).hide());
   }
		
It should probably be something more like:
   showPopupPanel : function (id, opts, event) {
      $(document).ready( function() { richfaces.$(id).show() } );
   },
   hidePopupPanel : function (id, opts, event) {
      $(document).ready( function(){ richfaces.$(id).hide() } );
   }



-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list