www

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

commit c178d1ab7fa7e97b9bd1e47d01ea6524375e9b44
parent 5ca5b06ebc338523b445919a07f6ac278ea2f548
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 16 Apr 2012 01:01:19 -0400

Don't try to use Zotero Standalone on the server

Diffstat:
Mchrome/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 @@ -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; }