From 9f5afa184d6e2d64f72642c64b54babecd71595a Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 22 Mar 2011 21:30:14 +0000 Subject: [PATCH] add workaround for Zotero 2.1.1 bug --- translators/RIS.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/translators/RIS.js b/translators/RIS.js index 789dde3cf..ae1a6f5b1 100644 --- a/translators/RIS.js +++ b/translators/RIS.js @@ -9,7 +9,7 @@ "priority":100, "inRepository":true, "displayOptions":{"exportCharset":"UTF-8", "exportNotes":true}, - "lastUpdated":"2011-02-13 03:10:59" + "lastUpdated":"2011-03-22 21:29:46" } function detectImport() { @@ -363,6 +363,8 @@ function completeItem(item) { if(item.journalAbbreviation && !item.publicationTitle){ item.publicationTitle = item.journalAbbreviation; } + // hack for Zotero 2.1.1 bug (fixed in 2.1.2) + for each(var attachment in item.attachments) attachment.itemType = "attachment"; item.complete(); }