X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=www%2Fmanager6%2Fceph%2FCephInstallWizard.js;h=a763005659a7435caf73aea4cd30e5999fcf4141;hb=8058410f40568d46d323cd6ad3b17c3327789594;hp=6c60d221f2c3d6e30310287e833ab4e8fff98d24;hpb=f6710aac3881d63d8761444c13a0f3643b9e8ba2;p=pve-manager.git diff --git a/www/manager6/ceph/CephInstallWizard.js b/www/manager6/ceph/CephInstallWizard.js index 6c60d221..a7630056 100644 --- a/www/manager6/ceph/CephInstallWizard.js +++ b/www/manager6/ceph/CephInstallWizard.js @@ -49,8 +49,8 @@ Ext.define('PVE.ceph.CephVersionSelector', { }, }, data: [ - {release: "nautilus", version: "14.2"}, - {release: "octopus", version: "15.2"}, + { release: "nautilus", version: "14.2" }, + { release: "octopus", version: "15.2" }, //{release: "pacific", version: "16.1"}, ], }, @@ -163,7 +163,7 @@ Ext.define('PVE.ceph.CephInstallWizard', { tp.setActiveTab(ntab); } }, - setInitialTab: function (index) { + setInitialTab: function(index) { var tp = this.down('#wizcontent'); var initialTab = tp.items.getAt(index); initialTab.enable(); @@ -203,7 +203,7 @@ Ext.define('PVE.ceph.CephInstallWizard', { { xtype: 'pveCephHighestVersionDisplay', labelWidth: 180, - cbind:{ + cbind: { nodename: '{nodename}', }, gotNewestVersion: function(release, maxversiontext, maxversion) { @@ -256,7 +256,7 @@ Ext.define('PVE.ceph.CephInstallWizard', { title: gettext('Installation'), xtype: 'panel', layout: 'fit', - cbind:{ + cbind: { nodename: '{nodename}', }, viewModel: {}, // needed to inherit parent viewModel data @@ -281,7 +281,6 @@ Ext.define('PVE.ceph.CephInstallWizard', { }, listeners: { load: function(rec, response, success, operation) { - if (success) { me.updateStore.stopUpdate(); me.down('textfield').setValue('success'); @@ -485,7 +484,6 @@ Ext.define('PVE.ceph.CephInstallWizard', { Ext.Msg.alert(gettext('Error'), response.htmlStatus); }, }); - } else { me.up('pveCephInstallWizard').navigateNext(); } @@ -513,7 +511,7 @@ Ext.define('PVE.ceph.CephInstallWizard', { var tp = this.up('#wizcontent'); var idx = tp.items.indexOf(this)-1; - for(;idx >= 0;idx--) { + for (;idx >= 0; idx--) { var nc = tp.items.getAt(idx); if (nc) { nc.disable();