Fox some small issues after fullCalendar update

This commit is contained in:
Aleksander Machniak 2019-01-07 15:46:51 +00:00
parent c7b561f19d
commit b0196c7ff1
2 changed files with 7 additions and 3 deletions

View file

@ -775,7 +775,7 @@ function rcube_calendar_ui(settings)
// fetch attachments, some drivers doesn't set 'attachments' array for event?
}
};
// init dialog buttons
var buttons = [],
save_func = function() {
@ -2480,7 +2480,7 @@ function rcube_calendar_ui(settings)
if (data.end)
event.end = data.end;
if (data.allDay !== undefined)
event.allDay = data.allDay;
event.allDay = !!data.allDay; // must be boolean for fullcalendar
event.editable = false;
event.temp = true;
event.className = ['fc-event-cal-'+data.calendar, 'fc-event-temp'];
@ -3223,7 +3223,7 @@ function rcube_calendar_ui(settings)
view.fullCalendar('removeEvents', function(e){ return e._id.indexOf(event._id+'-') == 0; });
}
else {
event.source = source; // link with source
event.source = view.fullCalendar('getEventSourceById', source.id); // link with source
view.fullCalendar('renderEvent', event);
}
}

View file

@ -2048,6 +2048,10 @@ a.dropdown-link:after {
filter: alpha(opacity=40); /* IE8 */
}
.fc-unthemed td.fc-today {
background: rgb(243, 226, 140, 0.5);
}
/* Settings section */
fieldset #calendarcategories div {