From 55c43df232ecc282c9d8939648614d31e393db4c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 26 May 2020 18:38:19 +0200 Subject: [PATCH] xo styling Signed-off-by: DL6ER --- scripts/pi-hole/js/auditlog.js | 8 +++++++- scripts/pi-hole/js/db_queries.js | 8 +++++++- scripts/pi-hole/js/queries.js | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/scripts/pi-hole/js/auditlog.js b/scripts/pi-hole/js/auditlog.js index b09b0dca0c..9069b087f1 100644 --- a/scripts/pi-hole/js/auditlog.js +++ b/scripts/pi-hole/js/auditlog.js @@ -108,7 +108,13 @@ function add(domain, list) { $.ajax({ url: "scripts/pi-hole/php/groups.php", method: "post", - data: { domain: domain, list: list, token: token, action: "add_domain", comment: "Added from Audit Log" }, + data: { + domain: domain, + list: list, + token: token, + action: "add_domain", + comment: "Added from Audit Log" + }, success: function () { updateTopLists(); }, diff --git a/scripts/pi-hole/js/db_queries.js b/scripts/pi-hole/js/db_queries.js index fc90723d15..0b29da0238 100644 --- a/scripts/pi-hole/js/db_queries.js +++ b/scripts/pi-hole/js/db_queries.js @@ -94,7 +94,13 @@ function add(domain, list) { $.ajax({ url: "scripts/pi-hole/php/groups.php", method: "post", - data: { domain: domain, list: list, token: token, action: "add_domain", comment: "Added from Long-Term-Data Query Log" }, + data: { + domain: domain, + list: list, + token: token, + action: "add_domain", + comment: "Added from Long-Term-Data Query Log" + }, success: function (response) { if (!response.success) { alFailure.show(); diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 6060b505ce..71e908aa29 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -41,7 +41,13 @@ function add(domain, list) { $.ajax({ url: "scripts/pi-hole/php/groups.php", method: "post", - data: { domain: domain, list: list, token: token, action: "add_domain", comment: "Added from Query Log" }, + data: { + domain: domain, + list: list, + token: token, + action: "add_domain", + comment: "Added from Query Log" + }, success: function (response) { alProcessing.hide(); console.log(response);