From abfd990d981dd6d8af1b1473ae0fcefd346898f9 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 13 Apr 2011 16:06:25 +0000 Subject: [PATCH] create OpenURL 1.0 ContextObjects for COinS (they were invalid 0.1 ContextObjects before) --- chrome/content/zotero/xpcom/cite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index c53e5d419..15293d52d 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -336,7 +336,7 @@ Zotero.Cite.makeFormattedBibliography = function(cslEngine, format) { // add COinS for each(var itemID in bib[0].entry_ids[i]) { try { - var co = Zotero.OpenURL.createContextObject(Zotero.Items.get(itemID)); + var co = Zotero.OpenURL.createContextObject(Zotero.Items.get(itemID), "1.0"); if(!co) continue; output.push(' ", ">", "g")+