From d1fa4399af2cf65dcb03e6f413b7a3658ad7e17a Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 17 Jun 2011 18:52:53 +0000 Subject: [PATCH] More tweaks to select items behavior --- chrome/content/zotero/xpcom/translation/translate.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 73ef64b1d..f4f914a4e 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; }, /**