From c178d1ab7fa7e97b9bd1e47d01ea6524375e9b44 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 16 Apr 2012 01:01:19 -0400 Subject: [PATCH] Don't try to use Zotero Standalone on the server --- chrome/content/zotero/xpcom/connector/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/connector/translator.js b/chrome/content/zotero/xpcom/connector/translator.js index 3418f90e2f..d0bda5b604 100644 --- a/chrome/content/zotero/xpcom/connector/translator.js +++ b/chrome/content/zotero/xpcom/connector/translator.js @@ -412,7 +412,7 @@ Zotero.Translator.prototype.init = function(info) { if(this.browserSupport.indexOf(Zotero.browser) !== -1) { this.runMode = Zotero.Translator.RUN_MODE_IN_BROWSER; - } else { + } else if(!Zotero.isServer) { this.runMode = Zotero.Translator.RUN_MODE_ZOTERO_STANDALONE; }