Properly disable download-mode menulist for groups in Sync pref pane
This commit is contained in:
parent
045554dd8e
commit
62f4586eb0
|
@ -274,7 +274,7 @@ Zotero_Preferences.Sync = {
|
||||||
sep.hidden = true;
|
sep.hidden = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
var menulists = document.querySelectorAll('#storage-settings menulist.storage-personal');
|
var menulists = document.querySelectorAll('#storage-settings menulist.storage-mode');
|
||||||
for (let menulist of menulists) {
|
for (let menulist of menulists) {
|
||||||
menulist.disabled = !enabled;
|
menulist.disabled = !enabled;
|
||||||
}
|
}
|
||||||
|
|
|
@ -228,7 +228,7 @@
|
||||||
|
|
||||||
<hbox class="storage-settings-download-options" align="center">
|
<hbox class="storage-settings-download-options" align="center">
|
||||||
<label value="&zotero.preferences.sync.fileSyncing.download;"/>
|
<label value="&zotero.preferences.sync.fileSyncing.download;"/>
|
||||||
<menulist class="storage-personal" preference="pref-storage-downloadMode-personal" style="margin-left: 0">
|
<menulist class="storage-mode" preference="pref-storage-downloadMode-personal" style="margin-left: 0">
|
||||||
<menupopup>
|
<menupopup>
|
||||||
<menuitem label="&zotero.preferences.sync.fileSyncing.download.onDemand;" value="on-demand"/>
|
<menuitem label="&zotero.preferences.sync.fileSyncing.download.onDemand;" value="on-demand"/>
|
||||||
<menuitem label="&zotero.preferences.sync.fileSyncing.download.atSyncTime;" value="on-sync"/>
|
<menuitem label="&zotero.preferences.sync.fileSyncing.download.atSyncTime;" value="on-sync"/>
|
||||||
|
@ -245,7 +245,7 @@
|
||||||
|
|
||||||
<hbox class="storage-settings-download-options" align="center">
|
<hbox class="storage-settings-download-options" align="center">
|
||||||
<label value="&zotero.preferences.sync.fileSyncing.download;"/>
|
<label value="&zotero.preferences.sync.fileSyncing.download;"/>
|
||||||
<menulist class="storage-groups" preference="pref-storage-downloadMode-groups" style="margin-left: 0">
|
<menulist class="storage-mode" preference="pref-storage-downloadMode-groups" style="margin-left: 0">
|
||||||
<menupopup>
|
<menupopup>
|
||||||
<menuitem label="&zotero.preferences.sync.fileSyncing.download.onDemand;" value="on-demand"/>
|
<menuitem label="&zotero.preferences.sync.fileSyncing.download.onDemand;" value="on-demand"/>
|
||||||
<menuitem label="&zotero.preferences.sync.fileSyncing.download.atSyncTime;" value="on-sync"/>
|
<menuitem label="&zotero.preferences.sync.fileSyncing.download.atSyncTime;" value="on-sync"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user