diff --git a/plugins/calendar/lib/calendar_ui.php b/plugins/calendar/lib/calendar_ui.php index 6fcdb3c3..33ff37a5 100644 --- a/plugins/calendar/lib/calendar_ui.php +++ b/plugins/calendar/lib/calendar_ui.php @@ -176,7 +176,7 @@ class calendar_ui { $color = $prop['color']; $class = 'cal-' . asciiwords($id, true); - $css .= "li.$class, #eventshow .$class { color: #$color }\n"; + $css .= "li .$class, #eventshow .$class { color: #$color }\n"; if ($mode != 1) { if ($mode == 3) { diff --git a/plugins/calendar/print.js b/plugins/calendar/print.js index 731a7d21..c3c647ce 100644 --- a/plugins/calendar/print.js +++ b/plugins/calendar/print.js @@ -125,7 +125,7 @@ window.rcmail && rcmail.addEventListener('init', function(evt) { }, // event rendering eventRender: function(event, element, view) { - if (view.name != 'month') { + if (view.name != 'month' && view.name != 'table') { var cont = element.find('.fc-event-title'); if (event.location) { cont.after('