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:
Joshua Wu
2022-08-23 21:31:34 -07:00
parent c6af559289
commit a0417e92d1
+1
View File
@@ -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);
}