mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Refocus the domain element after submitting new domain in list form
Signed-off-by: Joshua Wu <Joshua.wu.0910@gmail.com>
This commit is contained in:
@@ -545,6 +545,7 @@ function addDomain() {
|
||||
wildcardEl.prop("checked", false);
|
||||
table.ajax.reload(null, false);
|
||||
table.rows().deselect();
|
||||
domainEl.focus();
|
||||
} else {
|
||||
utils.showAlert("error", "", "Error while adding new " + domainRegex, response.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user