Make events export track the current calendar. Turn it and 'new event' into buttons

This commit is contained in:
friendica
2014-11-24 20:40:00 -08:00
parent 89c5ffd7c8
commit 3bb0ef8a82
2 changed files with 13 additions and 3 deletions

View File

@@ -24,10 +24,11 @@
eventClick: function(calEvent, jsEvent, view) {
showEvent(calEvent.id);
},
eventRender: function(event, element, view) {
//console.log(view.name);
if (event.item['author']['xchan_name']==null) return;
switch(view.name){
case "month":
element.find(".fc-event-title").html(