2
0
forked from Wavyzz/dolibarr

Debug v22

This commit is contained in:
ldestailleur
2025-06-10 17:29:16 +02:00
parent 94bd772a27
commit 5df59e1e3f
3 changed files with 9 additions and 2 deletions

View File

@@ -15659,9 +15659,11 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = null,
$out .= "</ul>\n";
// Code to manage the click on button data-read-more-action to show full description of an event
$out .= '<script>
jQuery(document).ready(function () {
$(document).on("click", "[data-read-more-action]", function(e){
console.log("We click on data-read-more-action");
let readMoreBloc = $(this).closest(".readmore-block");
if(readMoreBloc.length > 0){
e.preventDefault();