Fix classic citation dialog collection tree not working (regression b213b8f1
)
Report https://forums.zotero.org/discussion/104460/zotero-6-0-24-classic-add-citation-dialog-doesnt-show-collections-content
This commit is contained in:
parent
83527d27fb
commit
a9937740c5
1 changed files with 1 additions and 1 deletions
|
@ -93,12 +93,12 @@ function doUnload()
|
|||
}
|
||||
|
||||
var onCollectionSelected = async function () {
|
||||
var collectionTreeRow = collectionsView.getRow(collectionsView.selection.focused);
|
||||
if (!collectionsView.selection.count) return;
|
||||
// Collection not changed
|
||||
if (itemsView && itemsView.collectionTreeRow && itemsView.collectionTreeRow.id == collectionTreeRow.id) {
|
||||
return;
|
||||
}
|
||||
var collectionTreeRow = collectionsView.getRow(collectionsView.selection.focused);
|
||||
collectionTreeRow.setSearch('');
|
||||
Zotero.Prefs.set('lastViewedFolder', collectionTreeRow.id);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue