Fix errore js dashboard quando si cambiava la visualizzazione

This commit is contained in:
Luca 2018-05-14 19:17:14 +02:00
parent eb94bfa792
commit 87697bd48c
1 changed files with 2 additions and 1 deletions

View File

@ -529,7 +529,8 @@ if ($vista == 'mese') {
});
calendar_date_start = getCookie('calendar_date_start');
$('#calendar').fullCalendar( 'gotoDate', calendar_date_start );
if (calendar_date_start!='')
$('#calendar').fullCalendar( 'gotoDate', calendar_date_start );
});