changeset c41500543b1e in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=c41500543b1e
description:
        Use proper alert context for concurrency and error

        issue9430
        review303811002
diffstat:

 src/common.js |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r b5f7ef0fe692 -r c41500543b1e src/common.js
--- a/src/common.js     Fri Jul 10 09:00:01 2020 +0200
+++ b/src/common.js     Mon Jul 13 21:14:27 2020 +0200
@@ -3138,7 +3138,7 @@
                 ).removeClass('modal-sm').addClass('modal-lg');
             dialog.add_title(Sao.i18n.gettext('Concurrency Exception'));
             dialog.body.append(jQuery('<div/>', {
-                'class': 'alert alert-warning',
+                'class': 'alert alert-info',
                 role: 'alert'
             }).append(jQuery('<p/>')
                 .append(Sao.common.ICONFACTORY.get_icon_img('tryton-info', {
@@ -3208,7 +3208,7 @@
                 ).removeClass('modal-sm').addClass('modal-lg');
             dialog.add_title(Sao.i18n.gettext('Application Error'));
             dialog.body.append(jQuery('<div/>', {
-                'class': 'alert alert-warning',
+                'class': 'alert alert-danger',
                 role: 'alert'
             }).append(Sao.common.ICONFACTORY.get_icon_img('tryton-error', {
                 'aria-hidden': true,

Reply via email to