diff --git a/chrome/content/zotero/xpcom/standalone.js b/chrome/content/zotero/xpcom/standalone.js index c47bee904..c6f654a9e 100644 --- a/chrome/content/zotero/xpcom/standalone.js +++ b/chrome/content/zotero/xpcom/standalone.js @@ -22,6 +22,7 @@ ***** END LICENSE BLOCK ***** */ +Components.utils.import("resource://gre/modules/Services.jsm"); Zotero.Standalone = new function() { /** @@ -70,6 +71,9 @@ Zotero.Standalone = new function() { }; this.init = function() { + // Set not offline + Services.io.offline = false; + // Add an observer to handle AMO requests Components.classes["@mozilla.org/observer-service;1"]. getService(Components.interfaces.nsIObserverService).