commit cd7d2e9975c116972a37773359de96650777887a parent bb0e894c27cb7c2d31bb916fc7a236f0d749b78b Author: Simon Kornblith <simon@simonster.com> Date: Mon, 12 Mar 2012 23:57:58 -0400 Don't allow _itemDone to throw Diffstat:
| M | chrome/content/zotero/xpcom/translation/translate.js | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js @@ -548,7 +548,8 @@ Zotero.Translate.Sandbox = { } if(!item.title) { - throw new Error("No title specified for item"); + translate.complete(false, new Error("No title specified for item")); + return; } // create short title