Removed unused xmlhttp from admin's core.js.

This commit is contained in:
Collin Anderson 2016-03-23 16:14:01 -04:00 committed by Tim Graham
parent 3c1b572f18
commit b55c77ed18
1 changed files with 0 additions and 23 deletions

View File

@ -66,29 +66,6 @@ function removeChildren(a) {
} }
} }
// ----------------------------------------------------------------------------
// Cross-browser xmlhttp object
// from http://jibbering.com/2002/4/httprequest.html
// ----------------------------------------------------------------------------
var xmlhttp;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}
@else
xmlhttp = false;
@end @*/
if (!xmlhttp && typeof XMLHttpRequest !== 'undefined') {
xmlhttp = new XMLHttpRequest();
}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Find-position functions by PPK // Find-position functions by PPK
// See http://www.quirksmode.org/js/findpos.html // See http://www.quirksmode.org/js/findpos.html