www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 833031dbdf4ae1c2ff06704ec649d1aacaf006fa
parent 2f61e417bc49f59e49938fe126a8aa165cb886a6
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 20 Feb 2012 16:20:50 -0500

Remove unchecked data before serializing

Diffstat:
Mchrome/content/zotero/tools/testTranslators/translatorTester.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -318,7 +318,7 @@ Zotero_TranslatorTester.prototype._checkResult = function(test, translate, retur var translatedItem = Zotero_TranslatorTester._sanitizeItem(translate.newItems[i]); if(!this._compare(testItem, translatedItem)) { - test.translatedItem = testItem; + test.itemReturned = Zotero_TranslatorTester._sanitizeItem(test.items[i], true); testDoneCallback(this, test, "unknown", "Item "+i+" does not match"); return; }