ui: vm/usbedit: omit usb3 changes for spice completely
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
511e9b0131
commit
54671987be
@ -13,13 +13,10 @@ Ext.define('PVE.qemu.USBInputPanel', {
|
||||
change: function(field, newValue, oldValue) {
|
||||
var hwidfield = this.lookupReference('hwid');
|
||||
var portfield = this.lookupReference('port');
|
||||
var usb3field = this.lookupReference('usb3');
|
||||
if (field.inputValue === 'hostdevice') {
|
||||
hwidfield.setDisabled(!newValue);
|
||||
} else if(field.inputValue === 'port') {
|
||||
portfield.setDisabled(!newValue);
|
||||
} else if(field.inputValue === 'spice') {
|
||||
usb3field.setDisabled(!newValue);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user