www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit abfd990d981dd6d8af1b1473ae0fcefd346898f9
parent 2edaea48293198953792192e1999b36d2d031271
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 13 Apr 2011 16:06:25 +0000

create OpenURL 1.0 ContextObjects for COinS (they were invalid 0.1 ContextObjects before)


Diffstat:
Mchrome/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 @@ -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(' <span class="Z3988" title="'+ co.replace("&", "&amp;", "g").replace("<", "&lt;", "g").replace(">", "&gt;", "g")+