Fix "Show in Library" in item context menu
This commit is contained in:
parent
255320656f
commit
3a1bec1ab3
1 changed files with 1 additions and 1 deletions
|
@ -1179,7 +1179,7 @@ Zotero.CollectionTreeView.prototype.selectItem = Zotero.Promise.coroutine(functi
|
|||
// Force switch to library view
|
||||
else if (!this.selectedTreeRow.isLibrary() && inLibraryRoot) {
|
||||
Zotero.debug("Told to select in library; switching to library");
|
||||
yield cv.selectLibrary(item.libraryID);
|
||||
yield this.selectLibrary(item.libraryID);
|
||||
}
|
||||
|
||||
var itemsView = this.selectedTreeRow.itemTreeView;
|
||||
|
|
Loading…
Reference in a new issue