Clear attachment data change marker when loading primary data

Fixes a regression from ef7da3486a in which attachment data still shows
as changed after a save.
This commit is contained in:
Dan Stillman 2017-07-18 18:50:28 -04:00
parent cff84a71ed
commit 2928752d19

View file

@ -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;
}