Fix #1196: link a preventivi da dashboard non funzionante

This commit is contained in:
loviuz 2023-03-31 18:01:53 +02:00
parent a821261667
commit 91fe74cc1b
1 changed files with 4 additions and 2 deletions

View File

@ -693,8 +693,10 @@ if(isMobile() && setting('Utilizzare i tooltip sul calendario')){
}else{
echo '
eventClick: function(info) {
info.jsEvent.preventDefault();
location.href = info.event.extendedProps.link;
if (info.event.extendedProps.link !== undefined) {
info.jsEvent.preventDefault();
location.href = info.event.extendedProps.link;
}
},';
}