From 197f555dfc9a11ab03bb489d0e93750b39646349 Mon Sep 17 00:00:00 2001 From: Jeroen Boonstra Date: Mon, 5 Mar 2018 14:59:32 +0100 Subject: [PATCH] Add disable dnssec function --- app/templates/dashboard.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 045626f..481c5b8 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -250,6 +250,12 @@ enable_dns_sec($SCRIPT_ROOT + '/domain/' + domain + '/dnssec/enable'); }); + + $(document.body).on("click", ".button_dnssec_disable", function() { + var domain = $(this).prop('id'); + enable_dns_sec($SCRIPT_ROOT + '/domain/' + domain + '/dnssec/disable'); + + }); {% endblock %} {% block modals %}