Ticket #8493: 8719.patch

File 8719.patch, 630 bytes (added by Jakub Ś, 9 years ago)

patch proposed by @josephrider

  • _source/plugins/button/plugin.js

     
    8989                        },
    9090                        execute : function()
    9191                        {
     92        // IE needs focus sent back to the parent document if a dialog is launched
     93        if ( CKEDITOR.env.ie )
     94          document.body.focus();
     95
    9296                                // IE 6 needs some time before execution (#7922)
    9397                                if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
    9498                                        CKEDITOR.tools.setTimeout( function(){ this.button.click( editor ); }, 0, this );
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy