forked from Wavyzz/dolibarr
Debug v22
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user