summaryrefslogtreecommitdiffstats
path: root/modules-available/webinterface/templates/heading.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/webinterface/templates/heading.html')
-rw-r--r--modules-available/webinterface/templates/heading.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/webinterface/templates/heading.html b/modules-available/webinterface/templates/heading.html
index 59a8cf6b..b759eea9 100644
--- a/modules-available/webinterface/templates/heading.html
+++ b/modules-available/webinterface/templates/heading.html
@@ -4,6 +4,7 @@
<script><!--
document.addEventListener('DOMContentLoaded', function () {
var $boxCustom = $('#wcustom');
+ var $boxAcme = $('#wacme');
$('.row-select').click(function (e) {
if (e.target.tagName === 'INPUT')
return;
@@ -11,9 +12,13 @@ document.addEventListener('DOMContentLoaded', function () {
});
$('#cert-options').find('input').change(function(e) {
$boxCustom.toggle(e.target.id === 'mcustom');
+ $boxAcme.toggle(e.target.id === 'macme');
});
if ($('#mcustom').is(':checked')) {
$boxCustom.show();
}
+ if ($('#macme').is(':checked')) {
+ $boxAcme.show();
+ }
});
//--></script> \ No newline at end of file