www

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

commit 62f4586eb096c54d9c5321338852ca15753f7f04
parent 045554dd8e58a8a02bbac2cf621790db67797944
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 15 Apr 2016 01:33:28 -0400

Properly disable download-mode menulist for groups in Sync pref pane

Diffstat:
Mchrome/content/zotero/preferences/preferences_sync.js | 2+-
Mchrome/content/zotero/preferences/preferences_sync.xul | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/preferences/preferences_sync.js b/chrome/content/zotero/preferences/preferences_sync.js @@ -274,7 +274,7 @@ Zotero_Preferences.Sync = { 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) { menulist.disabled = !enabled; } diff --git a/chrome/content/zotero/preferences/preferences_sync.xul b/chrome/content/zotero/preferences/preferences_sync.xul @@ -228,7 +228,7 @@ <hbox class="storage-settings-download-options" align="center"> <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> <menuitem label="&zotero.preferences.sync.fileSyncing.download.onDemand;" value="on-demand"/> <menuitem label="&zotero.preferences.sync.fileSyncing.download.atSyncTime;" value="on-sync"/> @@ -245,7 +245,7 @@ <hbox class="storage-settings-download-options" align="center"> <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> <menuitem label="&zotero.preferences.sync.fileSyncing.download.onDemand;" value="on-demand"/> <menuitem label="&zotero.preferences.sync.fileSyncing.download.atSyncTime;" value="on-sync"/>