Addresses 1412, yet again. Full text pages don't have citation link, load abstract from processDocuments...there seems to be a bug with the dialog box when processDocuments has only one item
This commit is contained in:
parent
287c72c0dd
commit
303ba34554
1 changed files with 9 additions and 2 deletions
|
@ -42,8 +42,15 @@ function doWeb(doc, url) {
|
|||
Zotero.wait();
|
||||
|
||||
} else {
|
||||
// no need for a processDocuments request for single items
|
||||
grabCitation(doc);
|
||||
if (url.indexOf("article.aspx") == -1 ) {
|
||||
// no need for a processDocuments request for single item abstrac
|
||||
grabCitation(doc);
|
||||
|
||||
} else { // html fulltext page doesn't include citation link, load abstract and grab RIS
|
||||
url = url.substring(0,url.indexOf("article.aspx"));
|
||||
Zotero.Utilities.processDocuments([url], grabCitation, function() {Zotero.done();});
|
||||
Zotero.wait();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue