Don't log XML error to console if OPTIONS response isn't XML

This commit is contained in:
Dan Stillman 2008-09-15 08:57:23 +00:00
parent ce2cbc86b6
commit d264af21f6

View File

@ -903,6 +903,7 @@ Zotero.Utilities.HTTP = new function() {
xmlhttp.onreadystatechange = function() { xmlhttp.onreadystatechange = function() {
_stateChange(xmlhttp, callback); _stateChange(xmlhttp, callback);
}; };
xmlhttp.overrideMimeType("text/plain");
xmlhttp.send(null); xmlhttp.send(null);
return xmlhttp; return xmlhttp;
} }