Opened 15 years ago
Last modified 15 years ago
#3114 closed Bug
V3: IE7 opening of the toolbar dropdown controls fires the onbeforeunload event — at Initial Version
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
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.instancescontent?.checkDirty()) return "Page has not been saved!";
}
</script>