mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-07-06 13:01:54 -07:00
enable/disable softaculous plugin
This commit is contained in:
parent
fbc0cf5151
commit
42f6ceddc4
3 changed files with 137 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue