diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index 605ad5622..934fb8cbd 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -46,6 +46,7 @@ function init() } updateStorageSettings(null, null, true); + updateWordProcessorInstructions(); refreshStylesList(); refreshProxyList(); populateQuickCopyList(); @@ -1813,3 +1814,12 @@ function updateProxyPrefs() { document.getElementById('zotero-proxies-disableByDomain-checkbox').disabled = document.getElementById('zotero-proxies-disableByDomain-textbox').disabled = !transparent; } + +/** + * Determines if there are word processors, and if not, enables no word processor message + */ +function updateWordProcessorInstructions() { + if(document.getElementById("wordProcessors").childNodes.length == 2) { + document.getElementById("wordProcessors-noWordProcessorPluginsInstalled").hidden = undefined; + } +} \ No newline at end of file diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index a66ce091f..a6ea68900 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -564,45 +564,59 @@ To add a new preference: - - - - - - - - - - - - - -