Ticket #4397: 4397.patch

File 4397.patch, 673 bytes (added by Garry Yao, 15 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    353353                                                        body.removeAttribute( 'disabled' );
    354354                                                }
    355355                                                else
    356                                                         domDocument.designMode = 'on';
     356                                                        // Avoid opening design mode in a frame window thread,
     357                                                        // which will cause host page scrolling.(#4397)
     358                                                        setTimeout( function(){
     359                                                                domDocument.$.designMode = 'on';
     360                                                        }, 0 );
    357361
    358362                                                // IE, Opera and Safari may not support it and throw
    359363                                                // errors.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy