File "vendor_theme_paper_lantern_header.html"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/proc/thread-self/root/opt/fleetssl-cpanel/vendor_theme_paper_lantern_header.html
File size: 931 bytes
MIME-type: text/html
Charset: utf-8
<!-- this file is included at the top of the page if the theme is set to paper_lantern -->
<script type='text/javascript'>
function LetsEncrypt_DisableButtons() {
var submit = $("input[type='submit']");
submit.attr('disabled', 'true');
submit.attr('value', 'Please wait...');
$("body").css({"cursor": "wait"});
return true;
}
document.addEventListener('DOMContentLoaded', function () {
var methodChangeHandler = function () {
document.querySelectorAll('.wildcard-checkbox').forEach(function (el) {
switch(document.querySelector("input[name='challenge_method']:checked").value) {
case "dns-01":
el.disabled = false;
break;
case "http-01":
el.checked = false;
el.disabled = true;
break;
}
});
};
document.querySelectorAll("input[name='challenge_method']").forEach(function (el) {
el.addEventListener('click', methodChangeHandler);
});
methodChangeHandler();
});
</script>