www

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

commit 8df6b4bbd3a02efff98442d8b6e384a754a6c42b
parent b9444892a068eb94107acfc1a8f106c3521979fc
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 16 Mar 2016 01:36:59 -0400

Don't modify Date Modified when updating downloaded attachment state

Diffstat:
Mchrome/content/zotero/xpcom/storage/storageLocal.js | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/storage/storageLocal.js b/chrome/content/zotero/xpcom/storage/storageLocal.js @@ -580,7 +580,10 @@ Zotero.Sync.Storage.Local = { item.attachmentSyncState = this.SYNC_STATE_IN_SYNC; item.attachmentSyncedModificationTime = mtime; item.attachmentSyncedHash = md5; - yield item.saveTx(); + yield item.saveTx({ + skipDateModifiedUpdate: true, + skipSelect: true + }); return new Zotero.Sync.Storage.Result({ localChanges: true