From 87697bd48cf6c2c6e2107d35b05514941af687a8 Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 14 May 2018 19:17:14 +0200 Subject: [PATCH] Fix errore js dashboard quando si cambiava la visualizzazione --- modules/dashboard/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index f3be9edef..e474b236d 100644 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -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 ); });