Ticket #1998: 1998.patch

File 1998.patch, 1.1 KB (added by Frederico Caldeira Knabben, 12 years ago)
  • _whatsnew.html

     
    107107                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling
    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>
    112114                Version 2.6 Beta 1</h3>
  • editor/_source/internals/fcktools_ie.js

     
    7474        switch ( object )
    7575        {
    7676                case 'XmlHttp' :
     77                        // Try the native XMLHttpRequest introduced with IE7.
     78                        try { return new XMLHttpRequest() ; } catch (e) { alert( 'NO' ) ;}
     79
    7780                        aObjs = [ 'MSXML2.XmlHttp', 'Microsoft.XmlHttp' ] ;
    7881                        break ;
    7982
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy