From 2928752d1956437f2662a9f669fe94d0de3d5297 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 18 Jul 2017 18:50:28 -0400 Subject: [PATCH] Clear attachment data change marker when loading primary data Fixes a regression from ef7da3486a4 in which attachment data still shows as changed after a save. --- chrome/content/zotero/xpcom/data/item.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index cab8d1c48..5a3876c42 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -389,6 +389,7 @@ Zotero.Item.prototype._parseRowData = function(row) { Zotero.Item.prototype._finalizeLoadFromRow = function(row) { this._loaded.primaryData = true; this._clearChanged('primaryData'); + this._clearChanged('attachmentData'); this._identified = true; }