On select type DEDI check "is dedi cpu"

When selecting DEDI as the server type, "dedi cpu" will become checked.
This commit is contained in:
cp6 2021-01-27 10:30:06 +11:00
parent 92eb034c89
commit 1de086ebe0

View File

@ -294,6 +294,12 @@ $(document).on("click", "#fillIpv4", function () {
}
});
$('#virt').change(function(){
if($(this).val() == 'DEDI'){
$('#dedi_cpu').prop("checked", true);
}
});
function modalServerEdit(id) {
$.ajax({
type: "GET",