Pushed updated The Economist translator that fixes single-page saves, while we figure out what's wrong with the processDocuments() call

This commit is contained in:
Dan Stillman 2009-01-12 23:40:06 +00:00
parent cf7f7d82d4
commit 5eecc5d32f
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
2009-01-12 18:25:00 2009-01-12 23:40:00

View File

@ -8,7 +8,7 @@
"maxVersion":"", "maxVersion":"",
"priority":100, "priority":100,
"inRepository":true, "inRepository":true,
"lastUpdated":"2008-05-22 20:30:00" "lastUpdated":"2009-01-12 23:40:00"
} }
function detectWeb(doc, url) { function detectWeb(doc, url) {
@ -108,7 +108,8 @@ function doWeb(doc, url) {
urls.push(i); urls.push(i);
} }
} else if (doc.location.href.toLowerCase().indexOf("displaystory") != -1) { } else if (doc.location.href.toLowerCase().indexOf("displaystory") != -1) {
urls.push(url); scrape(doc, url);
return;
} }
Zotero.Utilities.processDocuments(urls, scrape, function() { Zotero.done(); }); Zotero.Utilities.processDocuments(urls, scrape, function() { Zotero.done(); });