www

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

commit ab6b3b16d90287b2bdbf3e517bc116eb04da2746
parent 24ace7c7330f527979caa8d8eb792c97cd8c693d
Author: Avram Lyon <ajlyon@gmail.com>
Date:   Sun, 22 Aug 2010 06:34:41 +0000

Fixing PDF saving for JSTOR translator


Diffstat:
Mtranslators/JSTOR.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/translators/JSTOR.js b/translators/JSTOR.js @@ -8,7 +8,7 @@ "priority":100, "inRepository":"1", "translatorType":4, - "lastUpdated":"2010-08-22 08:01:40" + "lastUpdated":"2010-08-22 08:32:02" } @@ -141,7 +141,7 @@ function doWeb(doc, url) { set.doi = "10.2307/" + jid; if (/stable\/(\d+)/.test(item.url)) { - var pdfurl = "http://"+ host + "/stable/pdfplus/" + jid + ".pdf"; + var pdfurl = "http://"+ host + "/stable/pdfplus/" + jid + ".pdf?acceptTC=true"; item.attachments.push({url:pdfurl, title:"JSTOR Full Text PDF", mimeType:"application/pdf"}); }