[pve-devel] [PATCH manager 5/9] Group the Pool selector combobox to the VM properties

Emmanuel Kasper e.kasper at proxmox.com
Thu Jan 12 10:13:58 CET 2017


The pool membership relates here to the VM membership, not
the storage membership, so it makes sense to move it closer
to the VM ID / VM name form fields.
---
 www/manager6/qemu/Clone.js | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/www/manager6/qemu/Clone.js b/www/manager6/qemu/Clone.js
index 50e74e0..966bd06 100644
--- a/www/manager6/qemu/Clone.js
+++ b/www/manager6/qemu/Clone.js
@@ -213,6 +213,13 @@ Ext.define('PVE.window.Clone', {
 		name: 'name',
 		allowBlank: true,
 		fieldLabel: gettext('Name')
+	    },
+	    {
+		    xtype: 'pvePoolSelector',
+		    fieldLabel: gettext('Resource Pool'),
+		    name: 'pool',
+		    value: '',
+		    allowBlank: true
 	    }
 	);
 
@@ -246,14 +253,6 @@ Ext.define('PVE.window.Clone', {
 	    allowBlank: false
 	});
 
-	col2.push({
-	    xtype: 'pvePoolSelector',
-	    fieldLabel: gettext('Resource Pool'),
-	    name: 'pool',
-	    value: '',
-	    allowBlank: true
-	});
-
 	col2.push(me.hdstoragesel);
 	col2.push(me.formatsel);
 
-- 
2.1.4





More information about the pve-devel mailing list