Fix error selecting separator above Group Libraries
This is super annoying, but I can't seem to stop the separator row from being selected in seltype="single" mode (where isSelectable() isn't called). Until we have a better solution, at least clear the items list and avoid an error.
This commit is contained in:
parent
78618ff88b
commit
1647f28135
|
@ -1093,12 +1093,10 @@ var ZoteroPane = new function()
|
|||
|
||||
var itemgroup = this.collectionsView._getItemAtRow(this.collectionsView.selection.currentIndex);
|
||||
|
||||
/*
|
||||
if (itemgroup.isSeparator()) {
|
||||
document.getElementById('zotero-items-tree').view = this.itemsView = null;
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
itemgroup.setSearch('');
|
||||
itemgroup.setTags(getTagSelection());
|
||||
|
|
Loading…
Reference in New Issue
Block a user