Opened 11 years ago
Closed 11 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 11 years ago by
Attachment: | ScreenShot.png added |
---|
comment:1 Changed 11 years ago by
Keywords: | ie ie9 windows beforeunload onbeforeunload removed |
---|---|
Status: | new → pending |
Version: | 4.3.1 |
- Which editor you are using - inline or classic iframed?
- I have tried belo code in latest CKEditor 4.3.2 and IE but I haven't got any problems with onbeforeunload popup.
- Could you please give me more details regarding how to reproduce this issue in default editor?
comment:2 Changed 11 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |