diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index fba547ca3b..c112f3aa4c 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -266,6 +266,7 @@ var Zotero = new function(){ Zotero.Zeroconf.init(); Zotero.Sync.init(); + Zotero.Sync.Server.init(); this.initialized = true; diff --git a/components/zotero-service.js b/components/zotero-service.js index 2ee4ea76cd..3c640ebaa7 100644 --- a/components/zotero-service.js +++ b/components/zotero-service.js @@ -83,6 +83,7 @@ function setTimeout(func, ms){ // {} implements nsITimerCallback timer.initWithCallback({notify:func}, ms, Components.interfaces.nsITimer.TYPE_ONE_SHOT); + return timer; }