Fix #1196: link a preventivi da dashboard non funzionante
This commit is contained in:
parent
a821261667
commit
91fe74cc1b
|
@ -693,8 +693,10 @@ if(isMobile() && setting('Utilizzare i tooltip sul calendario')){
|
||||||
}else{
|
}else{
|
||||||
echo '
|
echo '
|
||||||
eventClick: function(info) {
|
eventClick: function(info) {
|
||||||
|
if (info.event.extendedProps.link !== undefined) {
|
||||||
info.jsEvent.preventDefault();
|
info.jsEvent.preventDefault();
|
||||||
location.href = info.event.extendedProps.link;
|
location.href = info.event.extendedProps.link;
|
||||||
|
}
|
||||||
},';
|
},';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue