Add a pref to always show doc integration automatic updates option
This commit is contained in:
parent
f04a8c3736
commit
966c293dea
|
@ -216,8 +216,9 @@ var Zotero_File_Interface_Bibliography = new function() {
|
||||||
!selectedStyleObj.usesAbbreviation;
|
!selectedStyleObj.usesAbbreviation;
|
||||||
|
|
||||||
// Hide the automaticCitationUpdates checkbox before the prompt is shown
|
// Hide the automaticCitationUpdates checkbox before the prompt is shown
|
||||||
document.getElementById("automaticCitationUpdates-vbox").hidden
|
var showAutomaticUpdatesOption = Zotero.Prefs.get('integration.alwaysShowAutomaticUpdatesOption')
|
||||||
= _io.dontAskDelayCitationUpdates == undefined;
|
|| _io.dontAskDelayCitationUpdates !== undefined;
|
||||||
|
document.getElementById("automaticCitationUpdates-vbox").hidden = !showAutomaticUpdatesOption;
|
||||||
|
|
||||||
// Highlight delay citations checkbox after displaying the alert
|
// Highlight delay citations checkbox after displaying the alert
|
||||||
// NOTE: Currently unused
|
// NOTE: Currently unused
|
||||||
|
|
|
@ -126,6 +126,7 @@ pref("extensions.zotero.integration.port", 50001);
|
||||||
pref("extensions.zotero.integration.autoRegenerate", -1); // -1 = ask; 0 = no; 1 = yes
|
pref("extensions.zotero.integration.autoRegenerate", -1); // -1 = ask; 0 = no; 1 = yes
|
||||||
pref("extensions.zotero.integration.useClassicAddCitationDialog", false);
|
pref("extensions.zotero.integration.useClassicAddCitationDialog", false);
|
||||||
pref("extensions.zotero.integration.keepAddCitationDialogRaised", false);
|
pref("extensions.zotero.integration.keepAddCitationDialogRaised", false);
|
||||||
|
pref("extensions.zotero.integration.alwaysShowAutomaticUpdatesOption", false);
|
||||||
|
|
||||||
// Connector settings
|
// Connector settings
|
||||||
pref("extensions.zotero.httpServer.enabled", false); // TODO enabled for testing only
|
pref("extensions.zotero.httpServer.enabled", false); // TODO enabled for testing only
|
||||||
|
|
Loading…
Reference in New Issue
Block a user