Unavailability events do not have the provider property set.

This commit is contained in:
Alex Tselegidis 2020-04-08 10:41:40 +02:00
parent 560398c882
commit cf581e08e6

View file

@ -341,9 +341,6 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
'<strong>' + EALang.end + '</strong> ' '<strong>' + EALang.end + '</strong> '
+ GeneralFunctions.formatDate(event.end.format('YYYY-MM-DD HH:mm:ss'), GlobalVariables.dateFormat, true) + GeneralFunctions.formatDate(event.end.format('YYYY-MM-DD HH:mm:ss'), GlobalVariables.dateFormat, true)
+ '<br>' + + '<br>' +
'<strong>' + EALang.timezone + '</strong> '
+ GlobalVariables.timezones[event.data.provider.timezone]
+ '<br>'
+ notes + notes
+ '<hr>' + + '<hr>' +
'<center>' + '<center>' +