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
|
// Force switch to library view
|
||||||
else if (!this.selectedTreeRow.isLibrary() && inLibraryRoot) {
|
else if (!this.selectedTreeRow.isLibrary() && inLibraryRoot) {
|
||||||
Zotero.debug("Told to select in library; switching to library");
|
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;
|
var itemsView = this.selectedTreeRow.itemTreeView;
|
||||||
|
|
Loading…
Add table
Reference in a new issue