Replace obsolete collectionTreeView::getLastViewedRow() call

This commit is contained in:
Dan Stillman 2016-03-11 03:15:12 -05:00
parent b9b769db51
commit edcd2a16d2

View file

@ -926,8 +926,7 @@ var ZoteroPane = new function()
// Select new row // Select new row
if (show) { if (show) {
Zotero.Prefs.set('lastViewedFolder', lastViewedFolderID); Zotero.Prefs.set('lastViewedFolder', lastViewedFolderID);
var row = this.collectionsView.getLastViewedRow(); this.collectionsView.selectByID(lastViewedFolderID); // async
this.collectionsView.selection.select(row);
} }
} }