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
|
// 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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue