diff options
author | Mario <mario@mariovavti.com> | 2023-02-14 07:33:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-02-14 07:33:05 +0000 |
commit | de3e83f0a24f7523639c0866535d8aae8a63efb7 (patch) | |
tree | fb26d33f69a3b0d7cb48c817e33441ea74061591 /view/tpl/cal_calendar.tpl | |
parent | 6c78f7b76936513a408d036c98c12f8e88b448fc (diff) | |
download | volse-hubzilla-de3e83f0a24f7523639c0866535d8aae8a63efb7.tar.gz volse-hubzilla-de3e83f0a24f7523639c0866535d8aae8a63efb7.tar.bz2 volse-hubzilla-de3e83f0a24f7523639c0866535d8aae8a63efb7.zip |
fix mod cal after fullcalendar update
Diffstat (limited to 'view/tpl/cal_calendar.tpl')
-rw-r--r-- | view/tpl/cal_calendar.tpl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/view/tpl/cal_calendar.tpl b/view/tpl/cal_calendar.tpl index a928e98f6..68ec318bd 100644 --- a/view/tpl/cal_calendar.tpl +++ b/view/tpl/cal_calendar.tpl @@ -4,7 +4,7 @@ var calendar; $(document).ready(function() { var calendarEl = document.getElementById('calendar'); calendar = new FullCalendar.Calendar(calendarEl, { - plugins: [ 'dayGrid' ], + eventSources: [ {{$sources}} ], timeZone: '{{$timezone}}', @@ -12,16 +12,12 @@ $(document).ready(function() { locale: '{{$lang}}', eventTextColor: 'white', - header: false, + headerToolbar: false, height: 'auto', firstDay: {{$first_day}}, - monthNames: aStr['monthNames'], - monthNamesShort: aStr['monthNamesShort'], - dayNames: aStr['dayNames'], - dayNamesShort: aStr['dayNamesShort'], allDayText: aStr['allday'], eventClick: function(info) { |