From a552bb19bd44111ccff82ebbdb6372b4cfcac9d6 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 14 Jan 2011 21:25:05 +0000 Subject: [PATCH] hide "get word processor plug-ins" link in standalone --- chrome/content/zotero/preferences/preferences.js | 3 +++ chrome/content/zotero/preferences/preferences.xul | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index 9e9982904..f44b173b0 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -1823,4 +1823,7 @@ function updateWordProcessorInstructions() { if(document.getElementById("wordProcessors").childNodes.length == 2) { document.getElementById("wordProcessors-noWordProcessorPluginsInstalled").hidden = undefined; } + if(Zotero.isStandalone) { + document.getElementById("wordProcessors-getWordProcessorPlugins").hidden = true; + } } \ No newline at end of file diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index 06602aac5..89d00172f 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -588,7 +588,7 @@ To add a new preference: -