diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 73ef64b1db..f4f914a4ec 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -353,11 +353,9 @@ Zotero.Translate.Sandbox = { } } } else { // no handler defined; assume they want all of them - return options; + if(callback) callback(items); + return items; } - - if(callback) callback(options); - return options; }, /**