mirror of
https://github.com/zotero/zotero.git
synced 2026-10-14 04:08:17 +00:00
Fix "attachmentSyncState can only be set for snapshots and imported files" error
This commit is contained in:
parent
5d9eb6ce82
commit
ebb581d2ef
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…
Add table
Reference in a new issue