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.)
This commit is contained in:
parent
0853dbc070
commit
8e1b8022ad
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue