Fix "attachmentPath cannot be set for link attachments" CR error

This commit is contained in:
Dan Stillman 2009-03-26 19:31:37 +00:00
parent 28281e5fe6
commit 240637e044

View File

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