mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
* Calendar: Fix multiple all-day event rendering bug
If you had multiple all day, non-blocking events and switched from month to week view, if your window was small enough, some of them would be hidden.
This commit is contained in:
parent
d920178089
commit
5acc634a89
@ -2395,6 +2395,8 @@ var CalendarApp = /** @class */ (function (_super) {
|
||||
grid.iterateOver(function (widget) {
|
||||
if (row_index >= value.length)
|
||||
return;
|
||||
// Clear height to make sure there's correct calculations
|
||||
widget.div.css("height", "");
|
||||
if (widget.set_show_weekend) {
|
||||
widget.set_show_weekend(view.show_weekend(state.state));
|
||||
}
|
||||
|
@ -2749,6 +2749,10 @@ class CalendarApp extends EgwApp
|
||||
row_index = 0;
|
||||
grid.iterateOver(function(widget) {
|
||||
if(row_index >= value.length) return;
|
||||
|
||||
// Clear height to make sure there's correct calculations
|
||||
widget.div.css("height","");
|
||||
|
||||
if(widget.set_show_weekend)
|
||||
{
|
||||
widget.set_show_weekend(view.show_weekend(state.state));
|
||||
|
Loading…
Reference in New Issue
Block a user