Opened 16 years ago

Last modified 16 years ago

#3114 closed Bug

V3: IE7 opening of the toolbar dropdown controls fires the onbeforeunload event — at Version 2

Reported by: mike890 Owned by:
Priority: Must have (possibly next milestone) Milestone: CKEditor 3.0
Component: General Version: 3.0 Beta
Keywords: Confirmed IE Review+ Cc: mike890

Description (last modified by Frederico Caldeira Knabben)

In V2 it worked fine but in V3 opening of the toolbar dropdown controls fires the windiw.onbeforeunload. To reproduce this bug simply add the following JS code and try to open a toolbar dropdown. Probably it happens because the new version uses IFrame for the dropdown content.

<script>
window.onbeforeunload = function() {
	alert("window.onbeforeunload");
		//if(CKEDITOR.instances["content"].checkDirty())
		//	return "Page has not been saved!";
	}
</script>

Change History (3)

comment:1 Changed 16 years ago by mike890

Cc: mike890 added

comment:2 Changed 16 years ago by Frederico Caldeira Knabben

Description: modified (diff)
Keywords: Confirmed IE added; onbeforeunload removed

I'm able to reproduce it with IE. Ok with FF. That's definitely weird, and critical.

Changed 16 years ago by Garry Yao

Attachment: 3114.patch added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy