1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

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",