mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 11:19:59 +01:00
Give details about sucessfully added and failed items to domains, groups, lists and clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -525,14 +525,9 @@ function addAdlist(event) {
|
||||
method: "post",
|
||||
dataType: "json",
|
||||
data: JSON.stringify({ address: addresses, comment: comment, type: type }),
|
||||
success: function () {
|
||||
success: function (data) {
|
||||
utils.enableAll();
|
||||
utils.showAlert(
|
||||
"success",
|
||||
"fas fa-plus",
|
||||
"Successfully added " + type + "list(s)",
|
||||
addressestr
|
||||
);
|
||||
utils.listsAlert("list", addresses, data);
|
||||
table.ajax.reload(null, false);
|
||||
table.rows().deselect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user