diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index 6e7317f34c..17bbeff58c 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -574,7 +574,7 @@ class calendar_uiviews extends calendar_ui '" data-tooltip ="'.$tooltip . '" style="position: absolute; left: '.$left.'%; width: '.$width.'%; height: '. $row_height.'%; top: '.($n * $row_height).'%;'. - 'background-color: '.$color.';" '.'" data-date ="'.$this->bo->date2string($event['start']).' '. + 'background-color: '.$color.';" '.'" data-date ="'.$this->bo->date2string($event['start']).'|'.$data['popup'].'" '. '>'."\n".$data['html'].$indent."\n"; } } @@ -1772,7 +1772,14 @@ class calendar_uiviews extends calendar_ui } else { - // Replaced with jquery click handler due to CSP consern + if ($event['recur_type'] != MCAL_RECUR_NONE) + { + $popup = $event['id']."|r"; + } + else + { + $popup = $event['id']."|n"; + } } //_debug_array($event); @@ -2740,7 +2747,7 @@ class calendar_uiviews extends calendar_ui $tooltip = html::htmlspecialchars(str_replace(array("\n","\r","'",'"'),array('','',"\\'",'"'),$data['tooltip'])); return $indent.'