]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: vm/usbedit: omit usb3 changes for spice completely
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 23 Sep 2019 06:17:56 +0000 (08:17 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 23 Sep 2019 06:17:56 +0000 (08:17 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/qemu/USBEdit.js

index 776908a2dcaccc6e2606ef0fb7e729779983baa6..1e854a2e3e62e62dd1307eb2738c05500d9c0767 100644 (file)
@@ -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);
                    }
                }
            },