Ticket #5843: 5843.patch

File 5843.patch, 537 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/selection/plugin.js

     
    1717                        // In IE, the "selectionchange" event may still get thrown when
    1818                        // releasing the WYSIWYG mode, so we need to check it first.
    1919                        var sel = this.getSelection();
    20                         if ( !sel )
     20                        if ( !sel || !sel.document.$.window )
    2121                                return;
    2222
    2323                        var firstElement = sel.getStartElement();
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy