[pve-devel] [PATCH manager] GUI: disk reassign: remove unused reference and bind

Matthias Heiserer m.heiserer at proxmox.com
Mon May 2 16:24:23 CEST 2022


They are not used anywhere else, so I assume they were left over from
an earlier version.
Also, sometimes "[object object] flashes in the Target Guest field when
opening the reassign window, with this removed it doesn't occur.

Signed-off-by: Matthias Heiserer <m.heiserer at proxmox.com>
---
 www/manager6/window/GuestDiskReassign.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/www/manager6/window/GuestDiskReassign.js b/www/manager6/window/GuestDiskReassign.js
index 3795475d..f6d08b32 100644
--- a/www/manager6/window/GuestDiskReassign.js
+++ b/www/manager6/window/GuestDiskReassign.js
@@ -132,13 +132,9 @@ Ext.define('PVE.window.GuestDiskReassign', {
 	},
 	{
 	    xtype: 'vmComboSelector',
-	    reference: 'targetVMID',
 	    name: 'targetVmid',
 	    allowBlank: false,
 	    fieldLabel: gettext('Target Guest'),
-	    bind: {
-		value: '{targetVMID}',
-	    },
 	    store: {
 		model: 'PVEResources',
 		autoLoad: true,
-- 
2.30.2






More information about the pve-devel mailing list