diff --git a/chrome/content/zotero/selectItemsDialog.js b/chrome/content/zotero/selectItemsDialog.js index 72d2e9762..7efc7ab3a 100644 --- a/chrome/content/zotero/selectItemsDialog.js +++ b/chrome/content/zotero/selectItemsDialog.js @@ -96,7 +96,7 @@ var onCollectionSelected = Zotero.Promise.coroutine(function* () clearItemsPaneMessage(); connectionSelectedDeferred.resolve(); - collectionsView.onSelect(); + collectionsView.runListeners('select'); } }); @@ -111,7 +111,7 @@ function onSearch() function onItemSelected() { - itemsView.onSelect(); + itemsView.runListeners('select'); } function setItemsPaneMessage(content) {