Replace obsolete collectionTreeView::getLastViewedRow() call
This commit is contained in:
parent
b9b769db51
commit
edcd2a16d2
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue