Ticket #5062: 5062.patch

File 5062.patch, 1.0 KB (added by Garry Yao, 14 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    267267                                                iframe = CKEDITOR.dom.element.createFromHtml( '<iframe' +
    268268                                                        ' style="width:100%;height:100%"' +
    269269                                                        ' frameBorder="0"' +
    270                                                         // Support for custom document.domain in IE.
    271                                                         ( isCustomDomain ?
     270                                                        ( !CKEDITOR.env.webkit ?
     271                                                                // Support for custom document.domain in IE.
    272272                                                                ' src="javascript:void((function(){' +
    273                                                                         'document.open();' +
    274                                                                         'document.domain=\'' + document.domain + '\';' +
    275                                                                         'document.close();' +
     273                                                                'document.open();' +            // To avoid HTTPS warnings.
     274                                                                ( isCustomDomain ?
     275                                                                        'document.domain=\'' + document.domain + '\';' : '' ) +
     276                                                                'document.close();' +
    276277                                                                '})())"' : '' ) +
    277278                                                        ' tabIndex="-1"' +
    278279                                                        ' allowTransparency="true"' +
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy