diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 0d6679ad307..00bb5295638 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -1709,7 +1709,7 @@ class ActionComm extends CommonObject /** * Return URL of event - * Use $this->id, $this->type_code, $this->label and $this->type_label + * This uses $this->id, $this->type_code, $this->label and $this->type_label * * @param int<0,2> $withpicto 0 = No picto, 1 = Include picto into link, 2 = Only picto * @param int $maxlength Max number of characters into label. If negative, use the ref as label. @@ -1762,7 +1762,7 @@ class ActionComm extends CommonObject if (getDolGlobalInt('MAIN_ENABLE_AJAX_TOOLTIP')) { $classfortooltip = 'classforajaxtooltip'; $dataparams = ' data-params="'.dol_escape_htmltag(json_encode($params)).'"'; - $label = ''; + //$label = ''; // $label is used as ref when $maxlength is not negative, so we must not empty it. } else { $label = implode($this->getTooltipContentArray($params)); } diff --git a/htdocs/compta/facture/messaging.php b/htdocs/compta/facture/messaging.php index 641e19f3423..9e94d51e8de 100644 --- a/htdocs/compta/facture/messaging.php +++ b/htdocs/compta/facture/messaging.php @@ -262,3 +262,8 @@ if ($object->id > 0) { show_actions_messaging($conf, $langs, $db, $object, null, 0, $actioncode, '', $filters, $sortfield, $sortorder); } } + + +// End of page +llxFooter(); +$db->close(); diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index f72e6bc4780..aac6d8c4eeb 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -15659,9 +15659,11 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = null, $out .= "\n"; + // Code to manage the click on button data-read-more-action to show full description of an event $out .= '