www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 1647f281358d1673face18906e21de09fb831988
parent 78618ff88ba177ed2dd7ceedd818816c7a111697
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 19 Mar 2013 06:53:48 -0400

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.

Diffstat:
Mchrome/content/zotero/zoteroPane.js | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git 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());