Skip to content

Commit

Permalink
autofocus first search field
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed Feb 10, 2020
1 parent d4f41b4 commit b78ae74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/admin/js/Space/toolbar/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,7 @@ Ext.define('Admin.Space.toolbar.Search', {
});
this.items = items;
this.callParent(arguments);

setTimeout(() => this.down('textfield').focus(), 100);
},
});

0 comments on commit b78ae74

Please sign in to comment.