Ensure the focus is setup correctly
This commit is contained in:
@@ -229,7 +229,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
refresh();
|
||||
|
||||
// setup all the dialog focus handling
|
||||
['userAddModal', 'userRemoveModal'].forEach(function (id) {
|
||||
['userAddModal', 'userRemoveModal', 'userEditModal'].forEach(function (id) {
|
||||
$('#' + id).on('shown.bs.modal', function () {
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user