Fix Voyager in Firefox 3.5 (due to case-sensitive XPath)

Fixes #1153, Voyager Translator does not work on Voyager 7.0 sites
Fixes #1315, Voyager broken for GMU
This commit is contained in:
Dan Stillman 2009-07-15 20:31:40 +00:00
parent d106fc0313
commit 3820f8f2bd
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
2009-07-13 19:15:00
2009-07-15 20:35:00

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-12-02 10:10:00"
"lastUpdated":"2009-07-15 20:35:00"
}
function detectWeb(doc, url) {
@ -61,7 +61,7 @@ function doWeb(doc, url) {
var checkboxes = new Array();
var urls = new Array();
var tableRows = doc.evaluate('//form[@name="frm"]//table/tbody/tr[td/input[@type="checkbox"]]', doc, nsResolver, XPathResult.ANY_TYPE, null);
var tableRows = doc.evaluate('//form[@name="frm"]//table/tbody/tr[td/input[@type="checkbox" or @type="CHECKBOX"]]', doc, nsResolver, XPathResult.ANY_TYPE, null);
// Go through table rows
var tableRow;