Ticket #2356: 2356.patch

File 2356.patch, 1.2 KB (added by Martin Kou, 11 years ago)
  • _whatsnew.html

     
    8282                        in the Paste dialog.</li>
    8383                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1907">#1907</a>] Fixed sporadic
    8484                        "FCKeditorAPI is not defined" errors in Firefox 3.</li>
     85                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2356">#2356</a>] Fixed access denied
     86                        error in IE7 when FCKeditor is launched from local filesystem.</li>
    8587        </ul>
    8688        <p>
    8789                <a href="_whatsnew_history.html">See previous versions history</a></p>
  • editor/_source/internals/fcktools_ie.js

     
    7575        {
    7676                case 'XmlHttp' :
    7777                        // Try the native XMLHttpRequest introduced with IE7.
    78                         try { return new XMLHttpRequest() ; } catch (e) {}
     78                        if ( document.location.protocol != 'file:' )
     79                                try { return new XMLHttpRequest() ; } catch (e) {}
    7980
    8081                        aObjs = [ 'MSXML2.XmlHttp', 'Microsoft.XmlHttp' ] ;
    8182                        break ;
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy