Opened 15 years ago
Closed 15 years ago
#5582 closed Bug (fixed)
Closing dialog boxes causes warning in IE
Reported by: | Johan Fredrik Varen | Owned by: | brooks |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.3 |
Component: | UI : Dialogs | Version: | 3.2.1 |
Keywords: | confirm Review+ | Cc: |
Description
When clicking the top right close link (the red "X") in any dialog box (insert image, spell-checker, etc), Internet Explorer interprets the action as navigating to another page due to the presence of the href attribute in the link element. This does not happen if the user closes the popup using the bottom right "Cancel" button.
Because we monitor changes made to the content, warning the user about the potential loss of data should the user choose to navigate away from the current page, this warning is triggered when the user closes a dialog box using the top right close link.
A fairly easy fix for this problem is to add an onclick="return false;" to the link element.
Attachments (1)
Change History (5)
comment:1 Changed 15 years ago by
Owner: | set to brooks |
---|---|
Status: | new → assigned |
Changed 15 years ago by
Attachment: | 5582.patch added |
---|
comment:2 Changed 15 years ago by
Keywords: | Review? added; Dialog IE Internet Explorer removed |
---|
comment:3 Changed 15 years ago by
Component: | General → UI : Dialogs |
---|---|
Keywords: | Review+ added; Review? removed |
comment:4 Changed 15 years ago by
Keywords: | confirm added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
fixed with 5408 5408
when I click 'x' in IE6, I heard the 'dida' sound,but this not happen the cancel button