mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 17:20:04 -06:00
Bug: Cdrom bus IDE for Q35 is invalid set to SATA
This commit is contained in:
@@ -2484,6 +2484,13 @@ $(function() {
|
||||
});
|
||||
<?endif?>
|
||||
|
||||
$("#vmform #domain_machine").change(function changeMachineEvent(){
|
||||
// Cdrom Bus: select IDE for i440 and SATA for q35
|
||||
if ($(this).val().indexOf('q35') != -1) {
|
||||
$('#vmform .cdrom_bus').val('sata');
|
||||
}
|
||||
});
|
||||
|
||||
$("#vmform .domain_vcpu").change(function changeVCPUEvent(){
|
||||
var $cores = $("#vmform .domain_vcpu:checked");
|
||||
if ($cores.length < 1) {
|
||||
|
||||
Reference in New Issue
Block a user