diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 41d5a345a..5b112717d 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -332,6 +332,11 @@ Zotero.CollectionTreeView.prototype.notify = Zotero.Promise.coroutine(function* return; } + if (!this.selection) { + Zotero.debug("Selection didn't exist in collectionTreeView.notify()"); + return; + } + // // Actions that don't change the selection //