From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 9C8EA6030D for ; Tue, 1 Sep 2020 16:41:51 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 986DCA3E0 for ; Tue, 1 Sep 2020 16:41:51 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 700CAA3B1 for ; Tue, 1 Sep 2020 16:41:49 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 0CC124499E for ; Tue, 1 Sep 2020 16:30:52 +0200 (CEST) From: Aaron Lauterer To: pve-devel@lists.proxmox.com Date: Tue, 1 Sep 2020 16:30:44 +0200 Message-Id: <20200901143046.9267-3-a.lauterer@proxmox.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200901143046.9267-1-a.lauterer@proxmox.com> References: <20200901143046.9267-1-a.lauterer@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.029 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH v2 manager 2/4] ui: qemu/HardwareView: white space fixes X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 14:41:51 -0000 Signed-off-by: Aaron Lauterer --- v1 -> v2: nothing changed www/manager6/qemu/HardwareView.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js index 40b3fe86..b641317d 100644 --- a/www/manager6/qemu/HardwareView.js +++ b/www/manager6/qemu/HardwareView.js @@ -48,7 +48,7 @@ Ext.define('PVE.qemu.HardwareView', { var i, confid; var nodename = me.pveSelNode.data.node; - if (!nodename) { + if (!nodename) { throw "no node name specified"; } @@ -93,7 +93,7 @@ Ext.define('PVE.qemu.HardwareView', { sockets: { header: gettext('Processors'), never_delete: true, - editor: (caps.vms['VM.Config.CPU'] || caps.vms['VM.Config.HWType']) ? + editor: (caps.vms['VM.Config.CPU'] || caps.vms['VM.Config.HWType']) ? 'PVE.qemu.ProcessorEdit' : undefined, tdCls: 'pve-itype-icon-processor', group: 3, @@ -151,7 +151,7 @@ Ext.define('PVE.qemu.HardwareView', { iconCls: 'desktop', group:5, defaultValue: '', - renderer: PVE.Utils.render_kvm_vga_driver + renderer: PVE.Utils.render_kvm_vga_driver }, machine: { header: gettext('Machine'), @@ -318,7 +318,7 @@ Ext.define('PVE.qemu.HardwareView', { if ((g1 - g2) !== 0) { return g1 - g2; } - + if ((order1 - order2) !== 0) { return order1 - order2; } @@ -612,7 +612,7 @@ Ext.define('PVE.qemu.HardwareView', { interval: 5000, selModel: sm, run_editor: run_editor, - tbar: [ + tbar: [ { text: gettext('Add'), menu: new Ext.menu.Menu({ -- 2.20.1