forked from extern/egroupware
dirty hack, to get the IE to use onclick in a partly empty div and not "click throught" it to the underlying div
This commit is contained in:
parent
46adb5d50b
commit
88df544e72
@ -937,6 +937,8 @@ class uiviews extends uical
|
|||||||
'/calendar/inc/gradient.php?color1='.urlencode($bodybgcolor1).'&color2='.urlencode($bodybgcolor2).
|
'/calendar/inc/gradient.php?color1='.urlencode($bodybgcolor1).'&color2='.urlencode($bodybgcolor2).
|
||||||
'&width='.$width.') repeat-y '.$bodybgcolor2,
|
'&width='.$width.') repeat-y '.$bodybgcolor2,
|
||||||
'Small' => $width > $small_trigger_width ? '' : 'Small', // to use in css class-names
|
'Small' => $width > $small_trigger_width ? '' : 'Small', // to use in css class-names
|
||||||
|
// otherwise a click in empty parts of the event, will "click through" and create a new event
|
||||||
|
'ienonsens' => $this->html->user_agent == 'msie' ? '<div style="font-size: 250pt; width: 100%; overflow: hidden">'.str_repeat(' ',4).'</div>' : '',
|
||||||
));
|
));
|
||||||
foreach(array(
|
foreach(array(
|
||||||
'upper_left'=>array('width'=>-$corner_radius,'height'=>$header_height,'border'=>0,'bgcolor'=>$headerbgcolor),
|
'upper_left'=>array('width'=>-$corner_radius,'height'=>$header_height,'border'=>0,'bgcolor'=>$headerbgcolor),
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<tr valign="top" style="height: 100%;">
|
<tr valign="top" style="height: 100%;">
|
||||||
<td class="calEventBody{Small}" style="background: {bodybackground}; border-bottom: {border}px solid {bordercolor}; border-left: {border}px solid {bordercolor}; border-right: {border}px solid {bordercolor};">
|
<td class="calEventBody{Small}" style="background: {bodybackground}; border-bottom: {border}px solid {bordercolor}; border-left: {border}px solid {bordercolor}; border-right: {border}px solid {bordercolor};">
|
||||||
<p style="margin: 0px;">{body_icons}<br>
|
<p style="margin: 0px;">{body_icons}<br>
|
||||||
<span class="calEventTitle">{title}</span></p>
|
<span class="calEventTitle">{title}</span></p>{ienonsens}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user