Only show empty-response-from-server error for 0 or 200 status codes

This commit is contained in:
Dan Stillman 2016-02-24 21:50:06 -05:00
parent af8865f3f3
commit 63e169c139

View file

@ -626,7 +626,7 @@ Zotero.Sync.APIClient.prototype = {
_checkConnection: function (xmlhttp, channel) {
const Ci = Components.interfaces;
if (!xmlhttp.responseText) {
if (!xmlhttp.responseText && (xmlhttp.status == 0 || xmlhttp.status == 200)) {
let msg = null;
let dialogButtonText = null;
let dialogButtonCallback = null;