fix issues saving attachments on import when attachment does not have itemType = "attachment" set
This commit is contained in:
parent
d4f589785d
commit
f4ed72d7f4
|
@ -274,6 +274,7 @@ Zotero.Translate.ItemSaver.prototype = {
|
|||
var newItem = Zotero.Items.get(myID);
|
||||
|
||||
// save fields
|
||||
attachment.itemType = "attachment";
|
||||
this._saveFields(attachment, newItem);
|
||||
|
||||
// add note if necessary
|
||||
|
|
Loading…
Reference in New Issue
Block a user