From 54671987be375acb4cd6220dfad5e77673ffb6c8 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 23 Sep 2019 08:17:56 +0200 Subject: [PATCH] ui: vm/usbedit: omit usb3 changes for spice completely Signed-off-by: Thomas Lamprecht --- www/manager6/qemu/USBEdit.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/www/manager6/qemu/USBEdit.js b/www/manager6/qemu/USBEdit.js index 776908a2d..1e854a2e3 100644 --- a/www/manager6/qemu/USBEdit.js +++ b/www/manager6/qemu/USBEdit.js @@ -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); } } },