mirror of
https://github.com/zotero/zotero.git
synced 2026-09-29 01:41:24 +00:00
fix issues saving attachments on import when attachment does not have itemType = "attachment" set
This commit is contained in:
parent
d4f589785d
commit
f4ed72d7f4
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue