From 1647f281358d1673face18906e21de09fb831988 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 19 Mar 2013 06:53:48 -0400 Subject: [PATCH] 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. --- chrome/content/zotero/zoteroPane.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index f22c754caf..d8bd0fb074 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -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());