Addresses #1309, Fixes single results, multiple is using black magic, needs more work.

This commit is contained in:
Matt Burton 2010-03-04 18:35:20 +00:00
parent 88ba3bf75b
commit 02a766571b

View file

@ -93,7 +93,7 @@ function doWeb(doc, url) {
var disb = text.match(/<input type="hidden" name="disb" value="([^"]+)">/);
poststring = "delRange="+delRange+"&selDocs=&disb="+disb[1]+"&initializationPage=0";
Zotero.Utilities.HTTP.doPost(uri, poststring, function(text) {
uri = text.match(/&amp;url=([^']+)'/)
uri = text.match(/url=([^']+)'/)
uri = decodeURIComponent(uri[1]);
uri = uri.replace(/http:\/\/[^/]*\//, host+"/");
var uris = new Array();