Manual search: Focus text field when opened (#568)

This commit is contained in:
larsjohnsen 2016-10-25 10:07:31 +02:00 committed by JigSaw
parent 0c02c22654
commit 5a04e66abe
1 changed files with 5 additions and 1 deletions

View File

@ -468,6 +468,10 @@ function bindUIButtons() {
$("#modals").append(releaseDialog);
releaseDialog.modal("show");
releaseDialog.on('shown.bs.modal', function() {
releaseDialog.find('#searchquery').focus();
});
var setCategories = function (tracker, items) {
var cats = {};
for (var i = 0; i < items.length; i++) {