window.onbeforeunload and button close click

  •  11-25-2009, 2:11 AM

    window.onbeforeunload and button close click

    The window.onbeforeunload event let know if there are editor changes to save.
    But when I open a dialog window (for example "insert image" or " insert flash movie") and then i close it by clicking the close button, window.onbeforeunload event is fired!!!
     
    How can i resolve this?
    thanks
    daniela
View Complete Thread