www

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

commit 0d2a2051109bf67482ca926df2a275838c6ebf12
parent b9fb7fa3c6cbb5d917bcb26998efd23fd4a93364
Author: Steve Jamieson <steve.jamieson@covenantseminary.edu>
Date:   Tue, 13 Jan 2015 14:20:57 -0600

Fix for OpenURL 0.1 resolver detection

The discoverResolvers function was looking for the wrong XML tag name representing OpenURL version 0.1 in the response from the WorldCat Registry
Diffstat:
Mchrome/content/zotero/xpcom/openurl.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/openurl.js b/chrome/content/zotero/xpcom/openurl.js @@ -74,7 +74,7 @@ Zotero.OpenURL = new function() { if(resolver.getElementsByTagName("Z39.88-2004").length > 0) { var version = "1.0"; - } else if(resolver.getElementsByTagName("OpenUrl 0.1").length > 0) { + } else if(resolver.getElementsByTagName("OpenURL_0.1").length > 0) { var version = "0.1"; } else { continue;