From edcd2a16d29077b8578d16f616c1ae9a4a4620b0 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 11 Mar 2016 03:15:12 -0500 Subject: [PATCH] Replace obsolete collectionTreeView::getLastViewedRow() call --- chrome/content/zotero/zoteroPane.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index dace7b126c..90df62fbac 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -926,8 +926,7 @@ var ZoteroPane = new function() // Select new row if (show) { Zotero.Prefs.set('lastViewedFolder', lastViewedFolderID); - var row = this.collectionsView.getLastViewedRow(); - this.collectionsView.selection.select(row); + this.collectionsView.selectByID(lastViewedFolderID); // async } }