Only show empty-response-from-server error for 0 or 200 status codes
This commit is contained in:
parent
af8865f3f3
commit
63e169c139
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue