Fox some small issues after fullCalendar update
This commit is contained in:
parent
c7b561f19d
commit
b0196c7ff1
2 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue