Opened 13 years ago
Closed 13 years ago
#10484 closed Bug (duplicate)
[IE] Source dialog fires beforeunload event
| Reported by: | Karen Ananiev | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 4.1 |
| Keywords: | IE9 IE10 | Cc: |
Description
- Attach the "onbeforeunload" event to the page (I used repleacebyclass.html from samples folder):
<script>
window.attachEvent('onbeforeunload', function() {
return 'You will lose your content.';
});
</script>
- Add "sourcedialog" plugin.
- Open editor, open source dialog and click OK. The confirm dialog will appear.
Change History (1)
comment:1 Changed 13 years ago by
| Keywords: | IE9 IE10 added |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
| Version: | 4.1.1 → 4.1 |

This issue is a duplicate of #9958.