Opened 12 years ago
Closed 12 years ago
#11517 closed Bug (expired)
IE 8 triggers beforeUnload event when toolbar button is clicked
| Reported by: | Arkadiy Butermanov | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
Environment:
Browser: Internet Explorer 8 OS: Windows XP
Description:
When I try to apply some formatting on text (using toolbar buttons: Bold for example), Alert message is displayed (see attached screenshot)
How to fix:
I think you should add evt.preventDefault() in onClick handler function for toolbar buttons. Because IE is triggering beforeUnload event any time when link is clicked.
Temporary fix:
I have fixed above reported issue temporary using this:
CKEDITOR.on 'instanceReady', (event) ->
if CKEDITOR.env.ie
$('a.cke_button').removeAttr('href')
Attachments (1)
Change History (3)
Changed 12 years ago by
| Attachment: | ScreenShot.png added |
|---|
comment:1 Changed 12 years ago by
| Keywords: | ie ie9 windows beforeunload onbeforeunload removed |
|---|---|
| Status: | new → pending |
| Version: | 4.3.1 |
comment:2 Changed 12 years ago by
| Resolution: | → expired |
|---|---|
| Status: | pending → closed |

window.onbeforeunload=function(){return 'test'};