Add domain to request

This commit is contained in:
Jeroen Boonstra 2018-03-05 14:50:33 +01:00
parent 747de090f9
commit 8c6a9346c0

View File

@ -242,13 +242,13 @@
});
$(document.body).on("click", ".button_dnssec", function() {
var domain = $(this).prop('id');
getdnssec($SCRIPT_ROOT + '/domain/' + domain + '/dnssec');
getdnssec($SCRIPT_ROOT + '/domain/' + domain + '/dnssec',domain);
});
$(document.body).on("click", ".button_dnssec_enable", function() {
var domain = $(this).prop('id');
enable_dns_sec($SCRIPT_ROOT + '/domain/' + domain + '/dnssec/enable');
});
</script>
{% endblock %}