aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cdav_calendar.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/cdav_calendar.tpl')
-rw-r--r--view/tpl/cdav_calendar.tpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl
index 2d6853513..e66953a5d 100644
--- a/view/tpl/cdav_calendar.tpl
+++ b/view/tpl/cdav_calendar.tpl
@@ -22,7 +22,7 @@ var allday;
$(document).ready(function() {
var calendarEl = document.getElementById('calendar');
calendar = new FullCalendar.Calendar(calendarEl, {
- plugins: [ 'interaction', 'dayGrid', 'timeGrid', 'list' ],
+
eventSources: [ {{$sources}} ],
timeZone: '{{$timezone}}',
@@ -30,7 +30,7 @@ $(document).ready(function() {
locale: '{{$lang}}',
eventTextColor: 'white',
- header: false,
+ headerToolbar: false,
height: 'auto',
@@ -384,7 +384,6 @@ $(document).ready(function() {
$('#id_dtstart_wrapper, #id_dtend_wrapper, #id_timezone_select_wrapper').hide();
});
-
function changeView(viewName) {
calendar.changeView(viewName);