Ticket #3894: 3894_3.patch

File 3894_3.patch, 2.0 KB (added by Garry Yao, 15 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    228228                                                        fieldset.remove();
    229229
    230230                                                // The document domain must be set within the src
    231                                                 // attribute.
    232                                                 var src = 'void( (function(){' +
     231                                                // attribute;
     232                                                // Defer the script execution until iframe
     233                                                // has been added to main window, this is needed for some
     234                                                // browsers which will begin to load the frame content
     235                                                // prior to it's presentation in DOM.(#3894)
     236                                                var src = 'void( '
     237                                                                + ( CKEDITOR.env.gecko ? 'setTimeout' : '' ) + '( function(){' +
    233238                                                                'document.open();' +
    234239                                                                ( CKEDITOR.env.ie && isCustomDomain ? 'document.domain="' + document.domain + '";' : '' ) +
    235240                                                                'document.write( window.parent._cke_htmlToLoad_' + editor.name + ' );' +
    236241                                                                'document.close();' +
    237242                                                                'window.parent._cke_htmlToLoad_' + editor.name + ' = null;' +
    238                                                         '})() )';
     243                                                                '}'
     244                                                                + ( CKEDITOR.env.gecko ? ', 0 )' : ')()' )
     245                                                                + ' )';
    239246
    240247                                                // Loading via src attribute does not work in Opera.
    241248                                                if ( CKEDITOR.env.opera )
  • CHANGES.html

     
    103103                <li><a href="http://dev.fckeditor.net/ticket/3868">#3868</a> : [chrome] SCAYT toolbar options was in reversed order.</li>
    104104                <li><a href="http://dev.fckeditor.net/ticket/3875">#3875</a> : Fixed an issue in Safari where
    105105                        table row/column/cell menus are not useable when table cells are selected.</li>
     106                <li><a href="http://dev.fckeditor.net/ticket/3894">#3894</a> : Fixed an issue where editor failed to initialize when using the on-demand loading way.</li>
    106107        </ul>
    107108        <h3>
    108109                CKEditor 3.0 RC</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy