mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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
371bb59bdf
commit
3da73f95fb
@ -2396,6 +2396,8 @@ var CalendarApp = /** @class */ (function (_super) {
|
|||||||
grid.iterateOver(function (widget) {
|
grid.iterateOver(function (widget) {
|
||||||
if (row_index >= value.length)
|
if (row_index >= value.length)
|
||||||
return;
|
return;
|
||||||
|
// Clear height to make sure there's correct calculations
|
||||||
|
widget.div.css("height", "");
|
||||||
if (widget.set_show_weekend) {
|
if (widget.set_show_weekend) {
|
||||||
widget.set_show_weekend(view.show_weekend(state.state));
|
widget.set_show_weekend(view.show_weekend(state.state));
|
||||||
}
|
}
|
||||||
|
@ -2752,6 +2752,10 @@ class CalendarApp extends EgwApp
|
|||||||
row_index = 0;
|
row_index = 0;
|
||||||
grid.iterateOver(function(widget) {
|
grid.iterateOver(function(widget) {
|
||||||
if(row_index >= value.length) return;
|
if(row_index >= value.length) return;
|
||||||
|
|
||||||
|
// Clear height to make sure there's correct calculations
|
||||||
|
widget.div.css("height","");
|
||||||
|
|
||||||
if(widget.set_show_weekend)
|
if(widget.set_show_weekend)
|
||||||
{
|
{
|
||||||
widget.set_show_weekend(view.show_weekend(state.state));
|
widget.set_show_weekend(view.show_weekend(state.state));
|
||||||
|
Loading…
Reference in New Issue
Block a user