Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

Commit

Permalink
- cleanup msxml2 setup. See comments about the correct MSXML2.XMLHTTP…
Browse files Browse the repository at this point in the history
  • Loading branch information
projekt01 committed May 4, 2012
1 parent f1c7ba7 commit 92ebbcf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
CHANGES
=======

0.5.1dev (unreleased)
---------------------
0.5.1 (unreleased)
------------------

- cleanup msxml2 setup. See comments about the correct MSXML2.XMLHTTP usage at
http://blogs.msdn.com/b/xmlteam/archive/2006/10/23/using-the-right-version-of-msxml-in-internet-explorer.aspx

- Removed slugs for ZPKG and ZCML.

Expand Down
8 changes: 6 additions & 2 deletions src/z3c/xmlhttp/js/z3c.xmlhttp-0.5.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,16 @@ getXmlHttpRequest = function() {
}
return req;
}
// see comments about the MSXML2.XMLHTTP order,
// http://blogs.msdn.com/b/xmlteam/archive/2006/10/23/
// using-the-right-version-of-msxml-in-internet-explorer.aspx
else if (window.ActiveXObject) {
var MSXML_XMLHTTP_IDS = new Array(
"MSXML2.XMLHTTP.5.0",
"MSXML2.XMLHTTP.4.0",
"MSXML2.XMLHTTP.6.0",
"MSXML2.XMLHTTP.3.0",
"MSXML2.XMLHTTP",
"MSXML2.XMLHTTP.5.0",
"MSXML2.XMLHTTP.4.0",
"Microsoft.XMLHTTP");
var success = false;
for (var i = 0; i < MSXML_XMLHTTP_IDS.length && !success; i++) {
Expand Down

0 comments on commit 92ebbcf

Please sign in to comment.