Adding himura's patches

This commit is contained in:
Matt Burton 2009-12-31 20:54:45 +00:00
parent 4189fe618e
commit 45cca72fb2

View file

@ -20,7 +20,7 @@ function detectWeb(doc, url) {
}
function parseRIS(getURL, pdfURL) {
var newGet = getURL.replace(/EJ\/[^/]+/, "EJ/sview") + "?format=refmgr&submit=1";
var newGet = getURL.replace(/EJ\/[^/]+/, "EJ/sview").replace(/\?.*$/, '') + "?format=refmgr&submit=1";
Zotero.Utilities.HTTP.doGet(newGet, function(text){
// load translator for RIS
var translator = Zotero.loadTranslator ("import");