diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/cdav_calendar.tpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl index cd2e45b8c..61932a168 100644 --- a/view/tpl/cdav_calendar.tpl +++ b/view/tpl/cdav_calendar.tpl @@ -102,6 +102,8 @@ $(document).ready(function() { var dtstart = new Date(info.event._instance.range.start); var dtend = new Date(info.event._instance.range.end); + allday = event.allDay; + if(event.extendedProps.plink) { if(! $('#l2s').length) $('#id_title_wrapper').prepend('<span id="l2s" class="float-end"></span>'); @@ -112,7 +114,7 @@ $(document).ready(function() { $('#l2s').remove(); } - if(event.allDay) { + if (allday) { $('#id_dtstart_wrapper, #id_dtend_wrapper, #id_timezone_select_wrapper').hide(); } else { |