HDEdit: push more items in the same call

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2017-08-29 12:08:26 +02:00 committed by Fabian Grünbichler
parent a1fe04b65d
commit 2d06e72392

View 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'),