From: Thomas Lamprecht Date: Tue, 29 Aug 2017 10:08:26 +0000 (+0200) Subject: HDEdit: push more items in the same call X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;ds=sidebyside;h=b16806cd9130da08582b3acf8a113d164281a874;p=pve-manager-legacy.git HDEdit: push more items in the same call Signed-off-by: Thomas Lamprecht --- 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'),