mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Calendar: Fix events that are hidden because there are too many did not have a tooltip
This commit is contained in:
parent
7e296ba12b
commit
f0361f5230
@ -752,12 +752,10 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
|
|||||||
{
|
{
|
||||||
this.event_wrapper.css('overflow', 'hidden');
|
this.event_wrapper.css('overflow', 'hidden');
|
||||||
}
|
}
|
||||||
this._hidden_indicator(event, false, function() {
|
this._hidden_indicator(event, false, function()
|
||||||
|
{
|
||||||
app.calendar.update_state({view: 'day', date: day.date});
|
app.calendar.update_state({view: 'day', date: day.date});
|
||||||
});
|
});
|
||||||
// Avoid partially visible events
|
|
||||||
// We need to hide all, or the next row will be visible
|
|
||||||
event.div.hide(0);
|
|
||||||
}
|
}
|
||||||
// Completely out of view, show indicator
|
// Completely out of view, show indicator
|
||||||
else if (hidden.completely)
|
else if (hidden.completely)
|
||||||
@ -857,7 +855,7 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
|
|||||||
indicator.attr('data-hidden_count', count);
|
indicator.attr('data-hidden_count', count);
|
||||||
if(this.display_settings.granularity === 0)
|
if(this.display_settings.granularity === 0)
|
||||||
{
|
{
|
||||||
indicator.append(event.div.clone());
|
indicator.append(event.div);
|
||||||
indicator.attr('data-hidden_label', day.egw().lang('%1 event(s) %2', indicator.attr('data-hidden_count'), ''));
|
indicator.attr('data-hidden_label', day.egw().lang('%1 event(s) %2', indicator.attr('data-hidden_count'), ''));
|
||||||
}
|
}
|
||||||
else if (!fixed_height)
|
else if (!fixed_height)
|
||||||
|
Loading…
Reference in New Issue
Block a user