From 08073778a3febce395a68f57706fbec09e78694e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 30 May 2008 21:44:58 +0000 Subject: [PATCH] Properly handle starting Firefox in offline mode --- chrome/content/zotero/xpcom/integration.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 7147f0093..f37131931 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -38,7 +38,9 @@ Zotero.Integration = new function() { */ function init() { if (Zotero.Utilities.HTTP.browserIsOffline()) { - throw ('Browser is offline -- not initializing integration HTTP server'); + Zotero.debug('Browser is offline -- not initializing integration HTTP server'); + _registerOnlineObserver() + return; } // start listening on socket