diff --git a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php index d05ee5bd9..69f0c10d4 100644 --- a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php +++ b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php @@ -924,7 +924,7 @@ if (!isset($arrValidMachineTypes[$arrConfig['domain']['machine']])) { _(SSD)_: - value=""> + value=""> @@ -1076,7 +1076,7 @@ if (!isset($arrValidMachineTypes[$arrConfig['domain']['machine']])) { - + @@ -2042,8 +2042,8 @@ function BusChange(value, index) { } } -function updateSSDCheck(ssd, index) { - ssd.value = $('input[id="disk['+index+'][rotation]"]').prop('checked') ? "1" : "0"; +function updateSSDCheck(ssd) { + ssd.value = $(ssd).prop('checked') ? "1" : "0"; } function BIOSChange(value) {