mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-09 02:38:26 +00:00
Fix qemu create wizard when iothread is set
The variable to use to check the disk type is confid, as set in line 16 with: var confid = me.confid || (values.controller + values.deviceid);
This commit is contained in:
parent
3c3ca54b67
commit
e4cb80cc99
@ -39,7 +39,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
|
|||||||
delete me.drive.discard;
|
delete me.drive.discard;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (values.iothread && me.confid.match(/^virtio\d+$/)) {
|
if (values.iothread && confid.match(/^virtio\d+$/)) {
|
||||||
me.drive.iothread = 'on';
|
me.drive.iothread = 'on';
|
||||||
} else {
|
} else {
|
||||||
delete me.drive.iothread;
|
delete me.drive.iothread;
|
||||||
|
Loading…
Reference in New Issue
Block a user