mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Don't allow _itemDone to throw
This commit is contained in:
parent
bb0e894c27
commit
cd7d2e9975
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue