Missing changes from r9554

This commit is contained in:
Simon Kornblith 2011-06-20 04:42:19 +00:00
parent 776724d71e
commit 983f5023bc
2 changed files with 4 additions and 8 deletions

View File

@ -25,10 +25,10 @@
--> -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript" src="testTranslators.js"></script>
<script type="text/javascript" src="chrome://zotero/content/include.js"></script>
<script type="text/javascript" src="translatorTester.js"></script>
<head> <head>
<script type="text/javascript" src="testTranslators.js"></script>
<script type="text/javascript" src="chrome://zotero/content/include.js"></script>
<script type="text/javascript" src="translatorTester.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="testTranslators.css" /> <link rel="stylesheet" type="text/css" media="screen" href="testTranslators.css" />
<title>Zotero Translator Tester</title> <title>Zotero Translator Tester</title>
</head> </head>

View File

@ -121,11 +121,7 @@ TranslatorTestView.prototype.runTests = function(doneCallback) {
} }
}; };
if(Zotero.isFx) { this._translatorTester.runTests(newCallback);
this._translatorTester.runTests(newCallback);
} else {
Zotero.TranslatorTester.runTests(this._translator, this._type, newCallback);
}
} }
/** /**