mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Tabs are out.
Please don't use tabs in source code. Set your editor to 4 cc per tab.!
This commit is contained in:
parent
87dddc1445
commit
5e5b6b7f19
16 changed files with 2799 additions and 2799 deletions
|
@ -4,18 +4,18 @@ function NewHttpReq() {
|
|||
httpReq = new XMLHttpRequest();
|
||||
} else {
|
||||
try {
|
||||
httpReq = new ActiveXObject("Msxml2.XMLHTTP.4.0");
|
||||
httpReq = new ActiveXObject("Msxml2.XMLHTTP.4.0");
|
||||
} catch (e) {
|
||||
try {
|
||||
httpReq = new ActiveXObject("Msxml2.XMLHTTP");
|
||||
} catch (ee) {
|
||||
try {
|
||||
httpReq = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
} catch (eee) {
|
||||
httpReq = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
try {
|
||||
httpReq = new ActiveXObject("Msxml2.XMLHTTP");
|
||||
} catch (ee) {
|
||||
try {
|
||||
httpReq = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
} catch (eee) {
|
||||
httpReq = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return httpReq;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue