mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 10:48:26 +00:00
Revert "Fix AJAX JSON data (#2742)"
This reverts commit340d373711, reversing changes made to1ed1efdc91. Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -315,12 +315,12 @@ function addFromQueryLog(domain, list) {
|
||||
url: "/api/domains/" + list + "/exact",
|
||||
method: "post",
|
||||
dataType: "json",
|
||||
data: {
|
||||
data: JSON.stringify({
|
||||
domain: domain,
|
||||
comment: "Added from Query Log",
|
||||
type: list,
|
||||
kind: "exact",
|
||||
},
|
||||
}),
|
||||
success: function (response) {
|
||||
alProcessing.hide();
|
||||
if ("domains" in response && response.domains.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user