enable list views

This commit is contained in:
Mario Vavti
2019-04-06 16:10:50 +02:00
parent 3007009fab
commit 767a1711ff
3 changed files with 7 additions and 1 deletions

View File

@@ -25,3 +25,7 @@ main.fullscreen .fc td:last-child {
.fc-unthemed .fc-popover {
border-color: #ccc !important;
}
.fc-list-view {
border-width: 0px;
}

View File

@@ -7,7 +7,7 @@ var views = {'dayGridMonth' : '{{$month}}', 'timeGridWeek' : '{{$week}}', 'timeG
$(document).ready(function() {
var calendarEl = document.getElementById('calendar');
calendar = new FullCalendar.Calendar(calendarEl, {
plugins: [ 'interaction', 'dayGrid', 'timeGrid' ],
plugins: [ 'interaction', 'dayGrid', 'timeGrid', 'list' ],
eventSources: [ {{$sources}} ],
timeZone: '{{$timezone}}',