fix issues saving attachments on import when attachment does not have itemType = "attachment" set

This commit is contained in:
Simon Kornblith 2011-03-22 18:57:39 +00:00
parent d4f589785d
commit f4ed72d7f4

View File

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