Fix "attachmentPath cannot be set for link attachments" CR error
This commit is contained in:
parent
28281e5fe6
commit
240637e044
|
@ -3188,7 +3188,9 @@ Zotero.Item.prototype.clone = function(includePrimary) {
|
|||
newItem.attachmentLinkMode = this.attachmentLinkMode;
|
||||
newItem.attachmentMIMEType = this.attachmentMIMEType;
|
||||
newItem.attachmentCharset = this.attachmentCharset;
|
||||
newItem.attachmentPath = this.attachmentPath;
|
||||
if (this.attachmentPath) {
|
||||
newItem.attachmentPath = this.attachmentPath;
|
||||
}
|
||||
newItem.attachmentSyncState = this.attachmentSyncState;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user