Ticket #8719: 8719_working_fix.txt

File 8719_working_fix.txt, 913 bytes (added by Joe Rider, 12 years ago)

working fix diff

Line 
1diff --git a/styling/src/lib/js/ckeditor/3.6.2/_source/plugins/button/plugin.js b/styling/src/lib/js/ckeditor/3.6.2/_source/plugins/button/plugin.js
2index 7655229..0323f2c 100755
3--- a/styling/src/lib/js/ckeditor/3.6.2/_source/plugins/button/plugin.js
4+++ b/styling/src/lib/js/ckeditor/3.6.2/_source/plugins/button/plugin.js
5@@ -89,6 +89,10 @@ CKEDITOR.ui.button.prototype =
6                        },
7                        execute : function()
8                        {
9+        // IE needs focus sent back to the parent document if a dialog is launched
10+        if ( CKEDITOR.env.ie )^M
11+          document.body.focus();^M
12
13                                // IE 6 needs some time before execution (#7922)
14                                if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
15                                        CKEDITOR.tools.setTimeout( function(){ this.button.click( editor ); }, 0, this );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy