Minor tweak to avoid calling done too early
This commit is contained in:
parent
d3bc2b4046
commit
129805c62b
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue