From 0d3923182bf6a15d8e0767bc12fec6bc9d3fbfab Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 15 Sep 2011 08:00:07 +0000 Subject: [PATCH] Minor tweak to debug code --- .../content/zotero/tools/testTranslators/translatorTester.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index 8c5a9043cb..cb4d800f35 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -154,7 +154,6 @@ Zotero_TranslatorTester.prototype._runTestsRecursively = function(testDoneCallba }; if(this.type === "web") { - this._debug(this, "TranslatorTester: Translating "+test.url); this.fetchPageAndRunTest(test, callback); } else { this.runTest(test, null, callback); @@ -193,6 +192,8 @@ Zotero_TranslatorTester.prototype.fetchPageAndRunTest = function(test, testDoneC * @param {Function} testDoneCallback A callback to be executed when test is complete */ Zotero_TranslatorTester.prototype.runTest = function(test, doc, testDoneCallback) { + this._debug(this, "TranslatorTester: Translating "+test.url); + var me = this; var translate = Zotero.Translate.newInstance(this.type);