Fix selected tags not clearing when switching collections. Closes #1646

This commit is contained in:
Adomas Venčkauskas 2019-02-25 12:20:35 +02:00
parent 6d82ac3970
commit 891524b4ed

View file

@ -1184,12 +1184,7 @@ var ZoteroPane = new function()
// Clear quick search and tag selector when switching views
document.getElementById('zotero-tb-search').value = "";
// XBL functions might not yet be available
var tagSelector = document.getElementById('zotero-tag-selector');
if (tagSelector.deselectAll) {
tagSelector.deselectAll();
}
ZoteroPane.tagSelector.clearTagSelection();
// Not necessary with seltype="cell", which calls nsITreeView::isSelectable()
/*if (collectionTreeRow.isSeparator()) {