1
0
mirror of https://github.com/django/django.git synced 2025-10-25 14:46:09 +00:00

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

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
// See http://www.quirksmode.org/js/findpos.html