]> git.proxmox.com Git - pmg-gui.git/commitdiff
utils: align notification toast to bottom-right again
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jul 2021 10:10:45 +0000 (12:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jul 2021 10:10:47 +0000 (12:10 +0200)
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 <t.lamprecht@proxmox.com>
js/Utils.js

index f2b0ddbbd66edb39e02eea1d47f0e422516b8512..328a146b3483c9770ac6bfd5cd9641fad4c2c703 100644 (file)
@@ -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),