diff --git a/DnsServerCore/www/js/apps.js b/DnsServerCore/www/js/apps.js index c1ff2ef1..2aac612c 100644 --- a/DnsServerCore/www/js/apps.js +++ b/DnsServerCore/www/js/apps.js @@ -86,6 +86,9 @@ function getAppRowHtml(app) { if (app.dnsApps[j].isAuthoritativeRequestHandler) labels += "Authoritative"; + + if (app.dnsApps[j].isRequestBlockingHandler) + labels += "Blocking"; if (app.dnsApps[j].isQueryLogger) labels += "Query Logs"; @@ -344,7 +347,7 @@ function installApp() { url: "/api/apps/install?token=" + sessionData.token + "&name=" + encodeURIComponent(appName), method: "POST", data: formData, - dataContentType: false, + contentType: false, processData: false, success: function (responseJSON) { $("#modalInstallApp").modal("hide"); @@ -386,7 +389,7 @@ function updateApp() { url: "/api/apps/update?token=" + sessionData.token + "&name=" + encodeURIComponent(appName), method: "POST", data: formData, - dataContentType: false, + contentType: false, processData: false, success: function (responseJSON) { $("#modalUpdateApp").modal("hide");