Timing Issue - Firefox & Cute eidtor 6.1

  •  07-14-2008, 9:03 PM

    Timing Issue - Firefox & Cute eidtor 6.1

    I have a cute editor on a modal, and that modal is hidden when the page loads.
     
    When I show the modaleditor via javascript, I also use the SetHtml() function to set the html on the cute editor on the modal.
     
    However in Firefox it is getting executed  before the modal has completly loaded, and errors outs saying it cant find the SetHtml() function.
     
    If I put an alert('pause') and wait for it to load it works fine.
     
    Is there some type javascript code that I can see if the editor is fully loaded?
     
    This problem does not exist in I.E.
     
    And only happens the first time the editor loads, after that its fine.
     
    Thanks in advance
     
    thanks,
    Adam
View Complete Thread