Changeset 1772

Show
Ignore:
Timestamp:
2008-03-22 13:55:44 (7 months ago)
Author:
fredck
Message:

Fixed #1998 : The native XMLHttpRequest class is now used in IE, whenever it is available.

Location:
FCKeditor/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/filemanager/browser/default/js/fckxml.js

    r1565 r1772  
    3232{ 
    3333        // Gecko / IE7 
    34         if ( typeof(XMLHttpRequest) != 'undefined' ) 
    35                 return new XMLHttpRequest() ; 
     34        try { return new XMLHttpRequest(); }  
     35        catch(e) {} 
    3636 
    3737        // IE6 
  • FCKeditor/trunk/editor/_source/internals/fcktools_ie.js

    r1629 r1772  
    7575        { 
    7676                case 'XmlHttp' : 
     77                        // Try the native XMLHttpRequest introduced with IE7. 
     78                        try { return new XMLHttpRequest() ; } catch (e) {} 
     79 
    7780                        aObjs = [ 'MSXML2.XmlHttp', 'Microsoft.XmlHttp' ] ; 
    7881                        break ; 
  • FCKeditor/trunk/_whatsnew.html

    r1762 r1772  
    108108                        FCK.InsertHtml() in non-IE browsers would now activate the document processor 
    109109                        as expected.</li> 
     110                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native 
     111                        XMLHttpRequest class is now used in IE, whenever it is available.</li> 
    110112        </ul> 
    111113        <h3>