Don't forget to call fail() after debug messages from IE XDR
This commit is contained in:
parent
210e71b8a5
commit
11316d952b
1 changed files with 2 additions and 0 deletions
|
@ -61,9 +61,11 @@ Zotero.Connector = new function() {
|
|||
xdr.open("POST", "http://127.0.0.1:23119/connector/ping", true);
|
||||
xdr.onerror = function() {
|
||||
Zotero.debug("Connector: XDomainRequest to Zotero Standalone experienced an error");
|
||||
fail();
|
||||
};
|
||||
xdr.ontimeout = function() {
|
||||
Zotero.debug("Connector: XDomainRequest to Zotero Standalone timed out");
|
||||
fail();
|
||||
};
|
||||
xdr.onload = function() {
|
||||
if(me.isOnline !== null) return;
|
||||
|
|
Loading…
Add table
Reference in a new issue