Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 5407)
+++ /CKEditor/trunk/CHANGES.html (revision 5408)
@@ -159,4 +159,5 @@
#5121 : Recognizes the <br /> tag as a separator when apply block styles in enterMode=BR.
#5575 : CKEDITOR.replaceAll should consider all kind of white spaces between class names.
+ #5582 : Prevent the default behavior when click the 'x' button to close dialog box.
Updated the following language files:
- #5326 : Catalan;
Index: /CKEditor/trunk/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/dialog/plugin.js (revision 5407)
+++ /CKEditor/trunk/_source/plugins/dialog/plugin.js (revision 5408)
@@ -249,4 +249,5 @@
if ( this.fire( 'cancel', { hide : true } ).hide !== false )
this.hide();
+ evt.data.preventDefault();
}, this );