Fix collection and item tree focusing code. Closes #2286
This commit is contained in:
parent
af622da78f
commit
5dabe390a2
1 changed files with 2 additions and 2 deletions
|
@ -759,7 +759,7 @@ var ZoteroPane = new function()
|
|||
try {
|
||||
switch (command) {
|
||||
case 'library':
|
||||
this.collectionsView.focus();
|
||||
document.getElementById(ZoteroPane.collectionsView.id).focus();
|
||||
break;
|
||||
case 'quicksearch':
|
||||
document.getElementById('zotero-tb-search').select();
|
||||
|
@ -2228,7 +2228,7 @@ var ZoteroPane = new function()
|
|||
|
||||
// Focus the items pane
|
||||
if (found) {
|
||||
document.getElementById('zotero-items-tree').focus();
|
||||
document.getElementById(ZoteroPane.itemsView.id).focus();
|
||||
}
|
||||
|
||||
Zotero_Tabs.select('zotero-pane');
|
||||
|
|
Loading…
Reference in a new issue