www

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

commit 129805c62b5ad86cba0a90fa594ab9a8123aea8e
parent d3bc2b4046188506089e5c049b68886c2551b683
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon,  9 Apr 2012 11:21:32 -0400

Minor tweak to avoid calling done too early

Diffstat:
Mchrome/content/zotero/xpcom/connector/translate_item.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/connector/translate_item.js b/chrome/content/zotero/xpcom/connector/translate_item.js @@ -129,7 +129,6 @@ Zotero.Translate.ItemSaver.prototype = { callback(false, new Error("Save to server failed")); } else { Zotero.debug("Translate: Save to server complete"); - callback(true, items); if(typedArraysSupported) { try { @@ -147,6 +146,8 @@ Zotero.Translate.ItemSaver.prototype = { } } } + + callback(true, items); } }); },