commit 3a1bec1ab30df1aeb1107de6a60f624890662c40
parent 255320656ffd0899fbeac9e86bcb3a5cf8a507f2
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 26 Jan 2017 02:57:14 -0500
Fix "Show in Library" in item context menu
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js
@@ -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;