From d13af7ca3eb497030af9da750bd1f49e5fbb5818 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 22 Feb 2012 04:40:11 -0500 Subject: [PATCH] Don't show site-specific Quick Copy in Standalone --- .../content/zotero/preferences/preferences.js | 4 ++- .../zotero/preferences/preferences.xul | 23 ++------------- .../preferences/preferences_firefox.xul | 29 +++++++++++++++++++ 3 files changed, 35 insertions(+), 21 deletions(-) diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index b796dcc4f..4cc95fe76 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -588,7 +588,9 @@ function populateQuickCopyList() { menulist.setAttribute('preference', "pref-quickCopy-setting"); updateQuickCopyHTMLCheckbox(); - refreshQuickCopySiteList(); + if (!Zotero.isStandalone) { + refreshQuickCopySiteList(); + } } diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index da995dd0e..d28b31ef4 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -503,7 +503,7 @@ To add a new preference: - +