2 Replies Latest reply on Nov 9, 2010 10:07 AM by Dietmar Scheidl

    rich:editor problem when used in rich:modalPanel

    Dietmar Scheidl Newbie

      I am trying to use a rich:editor within a modal panel.

       

      Everything works fine till I close the modal panel using Richfaces.hideModalPanel.

       

      This results in a javascript error:

       

      t.win.document is null

      http://localhost:8080/wision/a4j/g/3_3_3.Finalscripts/tiny_mce/tiny_mce_src.js

      Line 5286

       

      The modal panel gets invisible but every request on the inital page results in the same error.

       

      It seems the editor does not shutdown gracefully if the modal panel gets invisible.

       

      How can I force a shutdown of the rich:editor before I hide the modal panel?