enable/disable softaculous plugin

This commit is contained in:
Serghey Rodin 2017-12-21 12:19:01 +02:00
parent fbc0cf5151
commit 42f6ceddc4
3 changed files with 137 additions and 0 deletions

View file

@ -14,4 +14,20 @@ $(document).ready(function(){
$('.sftp.description').hide();
}
});
$('select[name=v_softaculous]').change(function(){
if($(this).val() == 'yes'){
$('.softaculous.description').show();
} else {
$('.softaculous.description').hide();
}
});
$('input[name=v_mail_relay]').change(function(){
if($(this).is(':checked')){
$('.mail-relay').show();
} else {
$('.mail-relay').hide();
}
});
});