mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 07:39:27 +01:00
* Calendar: fix not working tooltip (showing html tags) in year-view
This commit is contained in:
parent
1fd14256f7
commit
83e2ceec7c
@ -577,7 +577,7 @@ class calendar_uiviews extends calendar_ui
|
||||
$width = $this->time2pos($event['end_m'] - $event['start_m']);
|
||||
$color = $data['color'] ? $data['color'] : 'gray';
|
||||
|
||||
$tooltip = html::htmlspecialchars($data['tooltip'], true); // true=need double-encoding, as it is transported as attribute!
|
||||
$tooltip = html::htmlspecialchars($data['tooltip']);
|
||||
$content .= $indent.'<div class="calendar_plannerEvent'.($data['private'] ? 'Private' : '').
|
||||
'" data-tooltip ="'.$tooltip .
|
||||
'" style="position: absolute; left: '.$left.'%; width: '.$width.'%; height: '.
|
||||
|
Loading…
Reference in New Issue
Block a user