window.onbeforeunload and button close click

Last post 11-25-2009, 3:31 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  11-25-2009, 2:11 AM 57410

    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
  •  11-25-2009, 3:31 AM 57412 in reply to 57410

    Re: window.onbeforeunload and button close click

    daniela,
     
    That is a bug , we have fixed it, and will provide an update soon.
     
    The reason is that the button is a link to '#' , that make the onbeforeunload fired.
     
    Regards,
    Terry
View as RSS news feed in XML