Details

    • Steps to Reproduce:
      Hide

      On an xhtml page, use a popup panel <rich:popupPanel id="foo" />
      From javascript (an action that happens after the page is loaded), call: RichFaces.ui.PopupPanel.showPopupPanel('foo', {});

      Show
      On an xhtml page, use a popup panel <rich:popupPanel id="foo" /> From javascript (an action that happens after the page is loaded), call: RichFaces.ui.PopupPanel.showPopupPanel('foo', {});

      Description

      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() }

      );
      }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                artdaw Gleb Galkin
                Reporter:
                jgoodfellow James G
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: