Ticket #5689: 5689.patch

File 5689.patch, 1.3 KB (added by Alfonso Martínez de Lizarrondo, 14 years ago)

Proposed patch

  • _source/core/env.js

     
    7575
    7676                        isCustomDomain : function()
    7777                        {
     78                                if ( !this.ie )
     79                                        return false;
     80
    7881                                var domain = document.domain,
    7982                                        hostname = window.location.hostname;
    8083
    81                                 return this.ie &&
     84                                return
    8285                                        domain != hostname &&
    8386                                        domain != ( '[' + hostname + ']' );     // IPv6 IP support (#5434)
    8487                        }
  • _source/plugins/wysiwygarea/plugin.js

     
    323323                                                        ' allowTransparency="true"' +
    324324                                                        '></iframe>' );
    325325
     326                                                // #5689
     327                                                if (document.location.protocol == 'chrome:') CKEDITOR.event.useCapture = true;
     328
    326329                                                // With FF, it's better to load the data on iframe.load. (#3894,#4058)
    327330                                                iframe.on( 'load', function( ev )
    328331                                                        {
     
    337340                                                                doc.close();
    338341                                                        });
    339342
     343                                                // #5689
     344                                                if (document.location.protocol == 'chrome:') CKEDITOR.event.useCapture = false;
     345
    340346                                                mainElement.append( iframe );
    341347                                        };
    342348
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy