* Calendar: Fix videoconference link in event tooltip

This commit is contained in:
nathangray 2021-01-21 19:04:01 +01:00
parent 0db14b78cc
commit a3dc00217d
2 changed files with 4 additions and 2 deletions

View File

@ -554,7 +554,8 @@ var et2_calendar_event = /** @class */ (function (_super) {
var vc_event = 'click.calendar_videoconference';
jQuery('body').off(vc_event)
.on(vc_event, '[data-videoconference]', function (event) {
app.calendar.joinVideoConference(this.dataset.videoconference, this.dataset);
var data = egw.dataGetUIDdata("calendar::" + this.dataset.id);
app.calendar.joinVideoConference(this.dataset.videoconference, data.data || this.dataset);
});
};
/**

View File

@ -704,7 +704,8 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached
let vc_event = 'click.calendar_videoconference';
jQuery('body').off(vc_event)
.on(vc_event, '[data-videoconference]',function(event) {
app.calendar.joinVideoConference(this.dataset.videoconference, this.dataset);
let data = egw.dataGetUIDdata("calendar::"+this.dataset.id);
app.calendar.joinVideoConference(this.dataset.videoconference, data.data||this.dataset);
});
}
/**