Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
window.onbeforeunload and button close click
window.onbeforeunload and button close click
Last post 11-25-2009, 3:31 AM by
cutechat
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
11-25-2009, 2:11 AM
57410
damutine
Joined on 11-24-2009
Posts 3
window.onbeforeunload and button close click
Reply
Quote
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
cutechat
Joined on 07-22-2004
Posts 2,332
Re: window.onbeforeunload and button close click
Reply
Quote
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