details:   https://code.tryton.org/tryton/commit/fd821aa67b53
branch:    7.4
user:      Nicolas Évrard <[email protected]>
date:      Wed Dec 10 16:09:44 2025 +0100
description:
        Force breaking error message when overflowing the error window

        Closes #14414
        (grafted from 25238cb4807f9bebe57f845571f92b73fb2fc6b1)
diffstat:

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

diffs (15 lines):

diff -r eaa51d673dfc -r fd821aa67b53 sao/src/common.js
--- a/sao/src/common.js Mon Dec 01 16:14:29 2025 +0100
+++ b/sao/src/common.js Wed Dec 10 16:09:44 2025 +0100
@@ -3606,7 +3606,10 @@
             }).appendTo(dialog.body);
             alert_.append(jQuery('<h4/>')
                 .text(title)
-                .css('white-space', 'pre-wrap'));
+                .css({
+                    'white-space': 'pre-wrap',
+                    'word-break': 'break-all',
+                }));
             alert_.append(jQuery('<p/>').append(jQuery('<a/>', {
                 'class': 'btn btn-default',
                 role: 'button',

Reply via email to