Merge pull request #831 from simpzan/4.0
make items tree column focused when select a item by running zotero://select/items/xxx.
This commit is contained in:
commit
623e1ca9a8
1 changed files with 3 additions and 1 deletions
|
@ -1983,7 +1983,9 @@ var ZoteroPane = new function()
|
|||
Zotero.debug("Told to select in library; switching to library");
|
||||
this.collectionsView.selectLibrary(item.libraryID);
|
||||
}
|
||||
|
||||
// Focus the items column before selecting the item.
|
||||
document.getElementById('zotero-items-tree').focus();
|
||||
|
||||
var selected = this.itemsView.selectItem(itemID, expand);
|
||||
if (!selected) {
|
||||
if (item.deleted) {
|
||||
|
|
Loading…
Reference in a new issue