On 4/1/19 1:31 PM, Tim Marx wrote:
> Signed-off-by: Tim Marx <t.m...@proxmox.com>
> ---
>  www/manager6/ceph/CephInstallWizard.js | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/www/manager6/ceph/CephInstallWizard.js 
> b/www/manager6/ceph/CephInstallWizard.js
> index 1c8808d1..bd50bf81 100644
> --- a/www/manager6/ceph/CephInstallWizard.js
> +++ b/www/manager6/ceph/CephInstallWizard.js
> @@ -27,6 +27,20 @@ Ext.define('PVE.ceph.CephInstallWizard', {
>               tp.setActiveTab(ntab);
>           }
>       },
> +     setInitialTab: function (index) {
> +         var tp = this.down('#wizcontent');
> +         var initialTab = tp.items.getAt(index);
> +         initialTab.enable();
> +         tp.setActiveTab(initialTab);
> +     },
> +     onShow: function() {
> +             this.callParent(arguments);
> +             var isInstalled = this.getViewModel().get('isInstalled');
> +             if (isInstalled) {
> +                 this.getViewModel().set('configuration', false);
> +                 this.setInitialTab(2);
> +             }
> +     },
>       items: [
>           {
>               title: gettext('Info'),
> 

applied, thanks!

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to