Skip to content

Commit

Permalink
xo styling
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <dl6er@dl6er.de>
  • Loading branch information
DL6ER committed May 26, 2020
1 parent 6098191 commit 55c43df
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion scripts/pi-hole/js/auditlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
Expand Down
8 changes: 7 additions & 1 deletion scripts/pi-hole/js/db_queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
8 changes: 7 additions & 1 deletion scripts/pi-hole/js/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 55c43df

Please sign in to comment.