Changeset 2215


Ignore:
Timestamp:
07/14/2008 11:49:22 AM (6 years ago)
Author:
martinkou
Message:

Fixed #2356 : Fixed access denied error in IE7 when FCKeditor is launched from local filesystem.

Location:
FCKeditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r2209 r2215  
    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> 
  • FCKeditor/trunk/editor/_source/internals/fcktools_ie.js

    r1772 r2215  
    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' ] ; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy