X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fmod_events.js;h=658987bdea236e28e80196ba36faff971768fc5b;hb=8536b313a1eb1c3e11f9ba5317fdcef33118bcb8;hp=0b6bb6e7b26716be6eaa99c5c1cb558f8979d1ef;hpb=e09c55527c2e192621cbea6703f56b34bbc3b4bd;p=friendica.git
diff --git a/view/theme/frio/js/mod_events.js b/view/theme/frio/js/mod_events.js
index 0b6bb6e7b2..658987bdea 100644
--- a/view/theme/frio/js/mod_events.js
+++ b/view/theme/frio/js/mod_events.js
@@ -38,38 +38,39 @@ $(document).ready(function() {
aspectRatio: 1,
eventRender: function(event, element, view) {
//console.log(view.name);
- if (event.item['author-name'] == null) return;
switch(view.name){
case "month":
- element.find(".fc-title").html(
- "{2}".format(
- event.item['author-avatar'],
- event.item['author-name'],
- event.title,
- event.item.desc,
- event.item.location
- ));
- break;
+ element.find(".fc-title").html(
+ "{2}".format(
+ event.item['author-avatar'],
+ event.item['author-name'],
+ event.title,
+ event.item.desc,
+ event.item.location
+ ));
+ break;
case "agendaWeek":
- element.find(".fc-title").html(
- "{1}
{2}
{3}
".format( - event.item['author-avatar'], - event.item['author-name'], - event.item.desc, - formatEventLocationText(event.item.location) - )); + if (event.item['author-name'] == null) return; + element.find(".fc-title").html( + "{2}
{3}
".format( + event.item['author-avatar'], + event.item['author-name'], + event.item.desc, + htmlToText(event.item.location) + )); break; case "agendaDay": - element.find(".fc-title").html( - "{2}
{3}
".format( - event.item['author-avatar'], - event.item['author-name'], - event.item.desc, - formatEventLocationText(event.item.location) - )); - break; + if (event.item['author-name'] == null) return; + element.find(".fc-title").html( + "{2}
{3}
".format( + event.item['author-avatar'], + event.item['author-name'], + event.item.desc, + htmlToText(event.item.location) + )); + break; case "listMonth": - element.find(".fc-list-item-title").html(formatListViewEvent(event)); + element.find(".fc-list-item-title").html(formatListViewEvent(event)); break; } }, @@ -81,6 +82,9 @@ $(document).ready(function() { trigger: "hover", placement: "auto", template: '