]> git.proxmox.com Git - pve-manager.git/commitdiff
HDEdit: push more items in the same call
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 29 Aug 2017 10:08:26 +0000 (12:08 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 1 Sep 2017 09:07:43 +0000 (11:07 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/qemu/HDEdit.js

index 6b19b7a568060408d80f97a9d6d246f486b27423..d1460fbbd43954778a2df463bce7fdbc35dd0ad3 100644 (file)
@@ -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'),