Add auto focus to groups and groups-adlist pages

Signed-off-by: Joshua Wu <Joshua.wu.0910@gmail.com>
This commit is contained in:
Joshua Wu
2022-08-24 09:26:46 -07:00
parent a0417e92d1
commit b6963a8eb1
2 changed files with 2 additions and 0 deletions

View File

@@ -288,6 +288,7 @@ function addGroup() {
$("#new_desc").val("");
table.ajax.reload();
table.rows().deselect();
$("#new_name").focus();
} else {
utils.showAlert("error", "", "Error while adding new group", response.message);
}