Addresses #1256, testing the ticketing system
This commit is contained in:
parent
16a3f38f84
commit
1dd85f3808
|
@ -71,7 +71,7 @@ function doWeb(doc, url) {
|
||||||
|
|
||||||
var url = newDoc.location.href;
|
var url = newDoc.location.href;
|
||||||
var get = newDoc.evaluate('//a[img[contains(@src, "exportarticle_a.gif")]]', newDoc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().href;
|
var get = newDoc.evaluate('//a[img[contains(@src, "exportarticle_a.gif")]]', newDoc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().href;
|
||||||
// if the PDF is available make it an attachment
|
// if the PDF is available make it an attachment otherwise only use snapshot.
|
||||||
if (PDF) {
|
if (PDF) {
|
||||||
attachements = [
|
attachements = [
|
||||||
{url:url, title:"ScienceDirect Snapshot", mimeType:"text/html"},
|
{url:url, title:"ScienceDirect Snapshot", mimeType:"text/html"},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user