Ticket #7904: 7904_2.patch

File 7904_2.patch, 674 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/floatpanel/plugin.js

     
    339339                                        var focusReturn = this._.returnFocus;
    340340                                        if ( focusReturn )
    341341                                        {
     342                                                // In IE we need to make sure focus is not yet moved away. (#7904).
     343                                                if ( CKEDITOR.env.ie && CKEDITOR.document.$.activeElement !== this._.iframe.$ )
     344                                                        return;
     345
    342346                                                // Webkit requires focus moved out panel iframe first.
    343347                                                if ( CKEDITOR.env.webkit && focusReturn.type )
    344348                                                        focusReturn.getWindow().$.focus();
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy