From 44156a2255b4e1d43ffe4b05b81f9acc08fcf975 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 19 Jan 2018 16:13:51 -0500 Subject: [PATCH] Setup the default date for fullCalendar. This show the first date of the regEvent as default date. --- views/admin/registrations/eventEditNotification.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/views/admin/registrations/eventEditNotification.html b/views/admin/registrations/eventEditNotification.html index 6275ee3..5fce459 100644 --- a/views/admin/registrations/eventEditNotification.html +++ b/views/admin/registrations/eventEditNotification.html @@ -185,17 +185,8 @@ timezone: 'local', events: [ regEvent - {if !$newEntry} - ,{ - id: 'notice', - title: 'Send', - start: '01/16/2018', - end: '01/16/2018', - allDay: true, - } - {/if} ], - defaultDate: '01/27/2018', + defaultDate: '{$regEvent.first_datetime.datetime}', }); // console.log( 'cal:', calendar ); } -- 2.17.1