commit 9f5afa184d6e2d64f72642c64b54babecd71595a
parent f4ed72d7f4f840459b77b703b37152e0c815212d
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 22 Mar 2011 21:30:14 +0000
add workaround for Zotero 2.1.1 bug
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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();
}