mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Calendar: Fix update if hidden for more than one user's calendar in week view
This commit is contained in:
parent
c5dc12f6ae
commit
60450ce640
@ -312,8 +312,10 @@ var et2_calendar_daycol = /** @class */ (function (_super) {
|
||||
// Not visible, defer the layout or it all winds up at the top
|
||||
// Cancel any existing listener & bind
|
||||
jQuery(this.getInstanceManager().DOMContainer.parentNode)
|
||||
.off('show.et2_daycol' + this.id)
|
||||
.one('show.et2_daycol' + this.id, function () { this._update_events(events); }.bind(this));
|
||||
.off('show.' + CalendarApp._daywise_cache_id(this.options.date, this.options.owner))
|
||||
.one('show.' + CalendarApp._daywise_cache_id(this.options.date, this.options.owner), function () {
|
||||
this._update_events(events);
|
||||
}.bind(this));
|
||||
return;
|
||||
}
|
||||
if (!this.getParent().disabled)
|
||||
|
@ -410,8 +410,10 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
|
||||
// Not visible, defer the layout or it all winds up at the top
|
||||
// Cancel any existing listener & bind
|
||||
jQuery(this.getInstanceManager().DOMContainer.parentNode)
|
||||
.off('show.et2_daycol'+this.id)
|
||||
.one('show.et2_daycol'+this.id, function() {this._update_events(events)}.bind(this));
|
||||
.off('show.'+CalendarApp._daywise_cache_id(this.options.date, this.options.owner))
|
||||
.one('show.'+CalendarApp._daywise_cache_id(this.options.date, this.options.owner), function() {
|
||||
this._update_events(events)
|
||||
}.bind(this));
|
||||
return;
|
||||
}
|
||||
if(!this.getParent().disabled)
|
||||
|
Loading…
Reference in New Issue
Block a user