V3: IE7 opening of the toolbar dropdown controls fires the onbeforeunload event
— at Version 2
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)
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.