On 2/11/20 10:01 AM, Dominik Csapak wrote:
> setting the loadmask did not really work, so show a messagebox instead
> and close the window
> 
> Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
> ---
> new in v2
>  www/manager6/dc/TFAEdit.js | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/www/manager6/dc/TFAEdit.js b/www/manager6/dc/TFAEdit.js
> index f8afa0a5..bf51b8c9 100644
> --- a/www/manager6/dc/TFAEdit.js
> +++ b/www/manager6/dc/TFAEdit.js
> @@ -205,7 +205,8 @@ Ext.define('PVE.window.TFAEdit', {
>                           me.afterLoading(data.realm, data.user);
>                       },
>                       failure: function(response, opts) {
> -                         Proxmox.Utils.setErrorMask(loadMaskContainer, 
> response.htmlStatus);
> +                         me.close();
> +                         Ext.Msg.alert(gettext('Error'), 
> response.htmlStatus);
>                       }
>                   });
>  
> 

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