commit edcd2a16d29077b8578d16f616c1ae9a4a4620b0 parent b9b769db51f2f7f84186b14b1609e25fff7d80a9 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 11 Mar 2016 03:15:12 -0500 Replace obsolete collectionTreeView::getLastViewedRow() call Diffstat:
| M | 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 @@ -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 } }