From 9a9f1ac5aaf363436a23b1ab698fe9bca040df08 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 8 May 2020 13:31:25 +0200 Subject: [PATCH] ui: cluster: code cleanups Signed-off-by: Thomas Lamprecht --- www/manager6/dc/ClusterEdit.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/www/manager6/dc/ClusterEdit.js b/www/manager6/dc/ClusterEdit.js index 227812d3..fcc517d2 100644 --- a/www/manager6/dc/ClusterEdit.js +++ b/www/manager6/dc/ClusterEdit.js @@ -70,21 +70,27 @@ Ext.define('PVE.ClusterInfoWindow', { { xtype: 'textfield', fieldLabel: gettext('IP Address'), - cbind: { value: '{joinInfo.ipAddress}' }, - editable: false + cbind: { + value: '{joinInfo.ipAddress}', + }, + editable: false, }, { xtype: 'textfield', fieldLabel: gettext('Fingerprint'), - cbind: { value: '{joinInfo.fingerprint}' }, - editable: false + cbind: { + value: '{joinInfo.fingerprint}', + }, + editable: false, }, { xtype: 'textarea', inputId: 'pveSerializedClusterInfo', fieldLabel: gettext('Join Information'), grow: true, - cbind: { joinInfo: '{joinInfo}' }, + cbind: { + joinInfo: '{joinInfo}', + }, editable: false, listeners: { afterrender: function(field) { @@ -320,7 +326,7 @@ Ext.define('PVE.ClusterJoinNodeWindow', { allowBlank: false, bind: { value: '{info.ip}', - readOnly: '{assistedEntry.checked}' + readOnly: '{assistedEntry.checked}', }, name: 'hostname' },