mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
FIX : Page expands when ticket messages are too long (#29785)
* FIX : Page expands when ticket messages are too long * Update functions.lib.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -13359,7 +13359,7 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = '', $n
|
||||
&& $actionstatic->code != 'AC_TICKET_CREATE'
|
||||
&& $actionstatic->code != 'AC_TICKET_MODIFY'
|
||||
) {
|
||||
$out .= '<div class="timeline-body" >';
|
||||
$out .= '<div class="timeline-body wordbreak">';
|
||||
$truncateLines = getDolGlobalInt('MAIN_TRUNCATE_TIMELINE_MESSAGE', 3);
|
||||
$truncatedText = dolGetFirstLineOfText($histo[$key]['message'], $truncateLines);
|
||||
if ($truncateLines > 0 && strlen($histo[$key]['message']) > strlen($truncatedText)) {
|
||||
|
||||
Reference in New Issue
Block a user