Fix wrong collection contents shown when switching collections at startup
Closes #2175
This commit is contained in:
parent
d4b3ed7fd8
commit
d8af5b7923
1 changed files with 2 additions and 2 deletions
|
@ -1210,7 +1210,7 @@ var ZoteroPane = new function()
|
|||
};
|
||||
|
||||
|
||||
this.onCollectionSelected = async function () {
|
||||
this.onCollectionSelected = Zotero.serial(async function () {
|
||||
try {
|
||||
var collectionTreeRow = this.getCollectionTreeRow();
|
||||
if (!collectionTreeRow) {
|
||||
|
@ -1262,7 +1262,7 @@ var ZoteroPane = new function()
|
|||
} finally {
|
||||
this.collectionsView.runListeners('select');
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue