diff --git a/emhttp/plugins/dynamix.vm.manager/spice.html b/emhttp/plugins/dynamix.vm.manager/spice.html index 0c9684419..562786aff 100644 --- a/emhttp/plugins/dynamix.vm.manager/spice.html +++ b/emhttp/plugins/dynamix.vm.manager/spice.html @@ -74,7 +74,7 @@ document.getElementById('hostname').innerHTML = (vmname) ; if (auto === 'true' || auto == '1') { auto = true; - connect(); + setTimeout(connect, 3000); } function spice_error(e) { diff --git a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php index 008b987ed..a0449ef80 100644 --- a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php +++ b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php @@ -1068,7 +1068,7 @@ _(VM Console Video Driver)_: - @@ -1076,12 +1076,12 @@ _(VM Console Password)_: - + _(VM Console Keyboard)_: - @@ -2079,7 +2079,7 @@ $(function() { if (audio && !sound.includes(audio)) form.append(''); }); - var postdata = form.find('input,select,textarea[name="qemucmdline"').serialize().replace(/'/g,"%27"); + var postdata = form.find('input,select,textarea[name="qemucmdline"]').serialize().replace(/'/g,"%27"); // keep checkbox visually unchecked form.find('input[name="usb[]"],input[name="usbopt[]"],input[name="pci[]"]').each(function(){