blob: b759eea9361a3e8d33a62f974817e2f0d4d0c3d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<div class="page-header">
<h1>{{lang_moduleHeading}}</h1>
</div>
<script><!--
document.addEventListener('DOMContentLoaded', function () {
var $boxCustom = $('#wcustom');
var $boxAcme = $('#wacme');
$('.row-select').click(function (e) {
if (e.target.tagName === 'INPUT')
return;
$(e.target).closest('.row-select').find('input').click();
});
$('#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>
|