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 {
|
try {
|
||||||
var collectionTreeRow = this.getCollectionTreeRow();
|
var collectionTreeRow = this.getCollectionTreeRow();
|
||||||
if (!collectionTreeRow) {
|
if (!collectionTreeRow) {
|
||||||
|
@ -1262,7 +1262,7 @@ var ZoteroPane = new function()
|
||||||
} finally {
|
} finally {
|
||||||
this.collectionsView.runListeners('select');
|
this.collectionsView.runListeners('select');
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue