www

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

commit 13766e1f6c11b92795d0f03126218f0d615d913d
parent 5a1cf3ab02d8e992279d3a0ce3f6d63c2d803291
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date:   Mon,  5 Mar 2018 14:26:57 +0200

Show delayed citations checkbox in doc prefs dialog after initialization

Closes #1458

Diffstat:
Mchrome/content/zotero/bibliography.js | 5++---
Mdefaults/preferences/zotero.js | 1-
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/bibliography.js b/chrome/content/zotero/bibliography.js @@ -215,9 +215,8 @@ var Zotero_File_Interface_Bibliography = new function() { document.getElementById("automaticJournalAbbreviations-vbox").hidden = !selectedStyleObj.usesAbbreviation; - // Hide the automaticCitationUpdates checkbox before the prompt is shown - var showAutomaticUpdatesOption = Zotero.Prefs.get('integration.alwaysShowAutomaticUpdatesOption') - || _io.dontAskDelayCitationUpdates !== undefined; + // Hide the automaticCitationUpdates checkbox the first time document preferences are open + var showAutomaticUpdatesOption = !!_io.fieldType; document.getElementById("automaticCitationUpdates-vbox").hidden = !showAutomaticUpdatesOption; // Highlight delay citations checkbox after displaying the alert diff --git a/defaults/preferences/zotero.js b/defaults/preferences/zotero.js @@ -129,7 +129,6 @@ pref("extensions.zotero.integration.port", 50001); pref("extensions.zotero.integration.autoRegenerate", -1); // -1 = ask; 0 = no; 1 = yes pref("extensions.zotero.integration.useClassicAddCitationDialog", false); pref("extensions.zotero.integration.keepAddCitationDialogRaised", false); -pref("extensions.zotero.integration.alwaysShowAutomaticUpdatesOption", false); // Connector settings pref("extensions.zotero.httpServer.enabled", false); // TODO enabled for testing only