[pve-devel] [PATCH manager 03/11] HDEdit: push more items in the same call

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Aug 29 12:08:26 CEST 2017


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

 www/manager6/qemu/HDEdit.js | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/www/manager6/qemu/HDEdit.js b/www/manager6/qemu/HDEdit.js
index 6b19b7a5..d1460fbb 100644
--- a/www/manager6/qemu/HDEdit.js
+++ b/www/manager6/qemu/HDEdit.js
@@ -251,28 +251,24 @@ Ext.define('PVE.qemu.HDInputPanel', {
 	    name: 'cache',
 	    value: '__default__',
 	    fieldLabel: gettext('Cache')
-	});
-
-	me.column2.push({
+	},
+	{
 	    xtype: 'pvecheckbox',
 	    fieldLabel: gettext('No backup'),
 	    name: 'nobackup'
-	});
-
-	me.column2.push({
+	},
+	{
 	    xtype: 'pvecheckbox',
 	    hidden: me.insideWizard,
 	    fieldLabel: gettext('Skip replication'),
 	    name: 'noreplicate'
-	});
-
-	me.column2.push({
+	},
+	{
 	    xtype: 'pvecheckbox',
 	    fieldLabel: gettext('Discard'),
 	    name: 'discard'
-	});
-
-	me.column2.push({
+	},
+	{
 	    xtype: 'pvecheckbox',
 	    disabled: me.insideWizard || (me.confid && !me.confid.match(/^(virtio|scsi)/)),
 	    fieldLabel: gettext('IO thread'),
-- 
2.11.0





More information about the pve-devel mailing list