From 8df6b4bbd3a02efff98442d8b6e384a754a6c42b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 16 Mar 2016 01:36:59 -0400 Subject: [PATCH] Don't modify Date Modified when updating downloaded attachment state --- chrome/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 index be1ac435e..354a2c6a7 100644 --- 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