diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 0165c3ae70..6ab5917029 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -1092,6 +1092,9 @@ var ZoteroPane = new function() this.getItemGroup = function () { + if (!this.collectionsView.selection) { + return false; + } return this.collectionsView._getItemAtRow(this.collectionsView.selection.currentIndex); }