From: Thomas Lamprecht Date: Wed, 21 Jul 2021 10:10:45 +0000 (+0200) Subject: utils: align notification toast to bottom-right again X-Git-Url: https://git.proxmox.com/?p=pmg-gui.git;a=commitdiff_plain;h=44362902f3dee3f33c258747f9df5d6d5b87dba9 utils: align notification toast to bottom-right again The default changed sometimes between ExtJS 6.0.1, which used 'br', and ExtJS 7.0, which has 't' (top) as new default. So set it explicitly to the previous used one, less intrusive and was intended to be there. Signed-off-by: Thomas Lamprecht --- diff --git a/js/Utils.js b/js/Utils.js index f2b0ddb..328a146 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -790,6 +790,7 @@ Ext.define('PMG.Utils', { slideBackAnimation: 'easeOut', iconCls: 'fa fa-check', shadow: true, + align: 'br', }); if (Ext.isFunction(callback)) { @@ -903,6 +904,7 @@ Ext.define('PMG.Async', { slideBackAnimation: 'easeOut', iconCls: 'fa fa-check', shadow: true, + align: 'br', }); }, response => Proxmox.Utils.alertResponseFailure(response),