[pve-devel] [PATCH manager 2/2] ui: vm/usbselector: cleanup unused code
Aaron Lauterer
a.lauterer at proxmox.com
Thu Sep 26 15:03:18 CEST 2019
Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
www/manager6/form/USBSelector.js | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/www/manager6/form/USBSelector.js b/www/manager6/form/USBSelector.js
index ed35bde0..82b59722 100644
--- a/www/manager6/form/USBSelector.js
+++ b/www/manager6/form/USBSelector.js
@@ -7,16 +7,6 @@ Ext.define('PVE.form.USBSelector', {
valueField: 'usbid',
editable: true,
- getUSBValue: function() {
- var me = this;
- var rec = me.store.findRecord('usbid', me.value);
- var val = 'host='+ me.value;
- if (rec && rec.data.speed === "5000") {
- val = 'host=' + me.value + ",usb3=1";
- }
- return val;
- },
-
validator: function(value) {
var me = this;
if (me.type === 'device') {
--
2.20.1
More information about the pve-devel
mailing list