From f4ed72d7f4f840459b77b703b37152e0c815212d Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 22 Mar 2011 18:57:39 +0000 Subject: [PATCH] fix issues saving attachments on import when attachment does not have itemType = "attachment" set --- chrome/content/zotero/xpcom/translation/item_local.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/translation/item_local.js b/chrome/content/zotero/xpcom/translation/item_local.js index fa01d6ecb..4b2df55be 100644 --- a/chrome/content/zotero/xpcom/translation/item_local.js +++ b/chrome/content/zotero/xpcom/translation/item_local.js @@ -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