From 8a7245fd74dbd6e9702b02ead0a3cc8cdd1097a0 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 29 Mar 2012 20:10:22 -0400 Subject: [PATCH] COinS atitle should be title for proceeding, and btitle should be publicationTitle. --- chrome/content/zotero/xpcom/openurl.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/xpcom/openurl.js b/chrome/content/zotero/xpcom/openurl.js index 58ee096de..2990fc703 100644 --- a/chrome/content/zotero/xpcom/openurl.js +++ b/chrome/content/zotero/xpcom/openurl.js @@ -296,20 +296,20 @@ Zotero.OpenURL = new function() { item.accessDate = ""; } } else if(key == "rft.btitle") { - if(item.itemType == "book" || item.itemType == "conferencePaper" || item.itemType == "report") { + if(item.itemType == "book" || item.itemType == "report") { item.title = value; - } else if(item.itemType == "bookSection") { + } else if(item.itemType == "bookSection" || item.itemType == "conferencePaper") { item.publicationTitle = value; } - } else if(key == "rft.atitle" && (item.itemType == "journalArticle" || - item.itemType == "bookSection")) { + } else if(key == "rft.atitle" + && ["journalArticle", "bookSection", "conferencePaper"].indexOf(item.itemType)) { item.title = value; } else if(key == "rft.jtitle" && item.itemType == "journalArticle") { item.publicationTitle = value; } else if(key == "rft.stitle" && item.itemType == "journalArticle") { item.journalAbbreviation = value; } else if(key == "rft.title") { - if(item.itemType == "journalArticle" || item.itemType == "bookSection") { + if(["journalArticle", "bookSection", "conferencePaper"].indexOf(item.itemType)) { item.publicationTitle = value; } else { item.title = value;