Fix "attachmentSyncState can only be set for snapshots and imported files" error
This commit is contained in:
parent
240637e044
commit
96f836f58d
1 changed files with 3 additions and 1 deletions
|
@ -3191,7 +3191,9 @@ Zotero.Item.prototype.clone = function(includePrimary) {
|
|||
if (this.attachmentPath) {
|
||||
newItem.attachmentPath = this.attachmentPath;
|
||||
}
|
||||
newItem.attachmentSyncState = this.attachmentSyncState;
|
||||
if (this.attachmentSyncState) {
|
||||
newItem.attachmentSyncState = this.attachmentSyncState;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue