Ticket #3956: 3956_2.patch

File 3956_2.patch, 1.5 KB (added by Garry Yao, 15 years ago)
  • _source/plugins/dialog/plugin.js

     
    358358                                         * IE BUG: If the initial focus went into a non-text element (e.g. button),
    359359                                         * then IE would still leave the caret inside the editing area.
    360360                                         */
    361                                         if ( CKEDITOR.env.ie )
     361                                        if ( this._.editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
    362362                                        {
    363363                                                var $selection = editor.document.$.selection,
    364364                                                        $range = $selection.createRange();
     
    751751                                var editor = this._.editor;
    752752                                editor.focus();
    753753
    754                                 if ( CKEDITOR.env.ie )
     754                                if ( editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
    755755                                        editor.getSelection().unlock( true );
    756756                        }
    757757                        else
  • CHANGES.html

     
    162162                        ckeditor2.html test case.</li>
    163163                <li><a href="http://dev.fckeditor.net/ticket/3989">#3989</a> : Host page horizontal scrolling a lot when on having righ-to-left direction.</li>
    164164                <li><a href="http://dev.fckeditor.net/ticket/4001">#4001</a> : Create link around existing image result incorrect.</li>
     165                <li><a href="http://dev.fckeditor.net/ticket/3956">#3956</a> : [IE]Fixed About dialog throw error in source mode regression.</li>
    165166        </ul>
    166167        <h3>
    167168                CKEditor 3.0 RC</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy