commit d1fa4399af2cf65dcb03e6f413b7a3658ad7e17a parent 1695ab4bdf03d4f2984a6013cfc00a7212ab8d49 Author: Simon Kornblith <simon@simonster.com> Date: Fri, 17 Jun 2011 18:52:53 +0000 More tweaks to select items behavior Diffstat:
| M | 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 @@ -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; }, /**