forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit_server.js
More file actions
33 lines (30 loc) · 892 Bytes
/
edit_server.js
File metadata and controls
33 lines (30 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$(document).ready(function(){
$('select[name=v_filemanager]').change(function(){
if($(this).val() == 'yes'){
$('.filemanager.description').show();
} else {
$('.filemanager.description').hide();
}
});
$('select[name=v_sftp]').change(function(){
if($(this).val() == 'yes'){
$('.sftp.description').show();
} else {
$('.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();
}
});
});