Always show HTTP request resolution, even without debug flag

This commit is contained in:
Dan Stillman 2015-05-19 01:12:52 -04:00
parent abaa4da5ab
commit 3b0b2c59b7

View file

@ -185,9 +185,9 @@ Zotero.HTTP = new function() {
}
if(success) {
Zotero.debug("HTTP " + method + " " + dispURL
+ " succeeded with " + xmlhttp.status);
if (options.debug) {
Zotero.debug("HTTP " + method + " " + dispURL
+ " succeeded with " + xmlhttp.status);
Zotero.debug(xmlhttp.responseText);
}
deferred.resolve(xmlhttp);