www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 11316d952b836d193012421ed51f64dc84521b49
parent 210e71b8a583908ceb0d385e811fb50ee86ebbcd
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 15 Apr 2013 13:25:40 -0400

Don't forget to call fail() after debug messages from IE XDR

Diffstat:
Mchrome/content/zotero/xpcom/connector/connector.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/connector/connector.js b/chrome/content/zotero/xpcom/connector/connector.js @@ -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;