Closing dialog boxes causes warning in IE
|Reported by:||jfvaren||Owned by:||brooks|
|Component:||UI : Dialogs||Version:||3.2.1|
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.
Change History (5)
Changed 7 years ago by brooks
comment:3 Changed 7 years ago by garry.yao
- Component changed from General to UI : Dialogs
- Keywords Review+ added; Review? removed