www

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

commit 8e1b8022adc41946fbf2146a2c7e6e0a391b6aec
parent 0853dbc070089a838e44fbe47ce7f647671aa03e
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 18 Mar 2013 20:21:48 -0400

Download locally existing remotely modified files in on-demand mode

If a file doesn't exist locally it won't be downloaded until opened, but
if a file does exist locally and has been modified remotely the latest
version will be downloaded at sync time regardless of the file sync
mode. (If a locally existing file has been updated remotely, just
opening it won't currently download the latest version. You have to
sync. This may change in the future.)

Diffstat:
Mchrome/content/zotero/xpcom/storage.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js @@ -755,7 +755,7 @@ Zotero.Sync.Storage = new function () { } Zotero.debug("Marking attachment " + lk + " for download"); - updatedStates[item.id] = Zotero.Sync.Storage.SYNC_STATE_TO_DOWNLOAD; + updatedStates[item.id] = Zotero.Sync.Storage.SYNC_STATE_FORCE_DOWNLOAD; } var mtime = attachmentData[item.id].mtime;