Don't log XML error to console if OPTIONS response isn't XML
This commit is contained in:
parent
ce2cbc86b6
commit
d264af21f6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user