diff --git a/components/com_fabrik/helpers/html.php b/components/com_fabrik/helpers/html.php index 46878b1b823..29714bef314 100644 --- a/components/com_fabrik/helpers/html.php +++ b/components/com_fabrik/helpers/html.php @@ -1045,7 +1045,7 @@ public static function iniRequireJs($shim = array(), $paths = array()) { if (is_array($newShim) && array_key_exists($k, $newShim)) { - $s->deps = array_merge($s->deps, $newShim[$k]->deps); + $s->deps = array_unique(array_merge($s->deps, $newShim[$k]->deps)); } $newShim[$k] = $s; diff --git a/plugins/fabrik_visualization/fullcalendar/forms/fields.xml b/plugins/fabrik_visualization/fullcalendar/forms/fields.xml index 839c137da8a..e56dde6e06b 100644 --- a/plugins/fabrik_visualization/fullcalendar/forms/fields.xml +++ b/plugins/fabrik_visualization/fullcalendar/forms/fields.xml @@ -127,6 +127,26 @@ + + + + + + + + + + - - - - - - - - - - - + diff --git a/plugins/fabrik_visualization/fullcalendar/fullcalendar-min.js b/plugins/fabrik_visualization/fullcalendar/fullcalendar-min.js index 21249695574..6b60196c2bb 100644 --- a/plugins/fabrik_visualization/fullcalendar/fullcalendar-min.js +++ b/plugins/fabrik_visualization/fullcalendar/fullcalendar-min.js @@ -1,2 +1,2 @@ /*! Fabrik */ -define(["jquery","fab/fabrik","fullcalendar"],function(a,b){var c=new Class({Implements:[Options],options:{canAdd:!1,show_week:!1,show_day:!1,default_view:"dayView",time_format:"",first_week_day:1,minDuration:0,greyscaledweekend:!1,calOptions:{},url:{del:"index.php?option=com_fabrik&controller=visualization.fullcalendar&view=visualization&task=deleteEvent&format=raw"}},initialize:function(c,d){function e(a,b,c){k=a,l=c.name,g.calendar.on("mousemove",f)}function f(){k=l=null,g.calendar.off("mousemove",f)}var g=this,h="",i=[];this.el=a("#"+c),this.calendar=this.el.find('*[data-role="calendar"]'),this.setOptions(d),this.date=new Date,this.clickdate=null,this.ajax={},this.windowopts={id:"addeventwin",title:"",loadMethod:"xhr",minimizable:!1,evalScripts:!0},this.el.find(".addEventButton").on("click",function(a){a.preventDefault(),g.openAddEvent(a)}),b.addEvent("fabrik.form.submitted",function(){g.calendar.fullCalendar("refetchEvents"),b.Windows.addeventwin.close()}),this.options.eventLists.each(function(a,b){i.push({events:function(c,d,e,f){new Request({url:this.options.url.add+"&listid="+a.value+"&eventListKey="+b,evalScripts:!0,onSuccess:function(a,b){"null"!==typeOf(b)&&this.processEvents(b,f)}.bind(this,f)}).send()}.bind(this),color:a.colour})}.bind(this)),this.options.show_week!==!1&&(h+="agendaWeek"),this.options.show_day!==!1&&(h.length>0&&(h+=","),h+="agendaDay"),h.length>0&&(h="month,"+h);var j="month";switch(this.options.default_view){case"monthView":break;case"weekView":this.options.show_week!==!1&&(j="agendaWeek");break;case"dayView":this.options.show_day!==!1&&(j="agendaDay")}var k=null,l=null;this.calendar.dblclick(function(a){k&&g.openAddEvent(a,l,k)}),this.calOptions={header:{left:"prev,next today",center:"title",right:h},fixedWeekCount:!1,timeFormat:this.options.time_format,defaultView:j,nextDayThreshold:"00:00:00",firstDay:this.options.first_week_day,eventSources:i,defaultTimedEventDuration:this.options.minDuration,minTime:this.options.open,maxTime:this.options.close,eventClick:function(a){return g.clickEntry(a),!1},dayClick:e,viewRender:function(b){"month"===b.name&&g.options.greyscaledweekend===!0&&(a("td.fc-sat").css("background","#f2f2f2"),a("td.fc-sun").css("background","#f2f2f2"))},eventRender:function(a,b){b.find(".fc-title").html(a.title)},loading:function(b){b||a(".fc-view-container").delegate(".popover button.jclose","click",function(){var b=a(this).data("popover");a("#"+b).popover("hide")})}},a.extend(!0,this.calOptions,JSON.parse(g.options.calOptions)),this.calendar.fullCalendar(this.calOptions),document.addEvent("click:relay(button[data-task=viewCalEvent], a[data-task=viewCalEvent])",function(b){b.preventDefault();var c=b.target.findClassUp("calEventButtons").id;c=c.replace(/_buttons/,"");var d=g.calendar.fullCalendar("clientEvents",c)[0];a("#"+c).popover("hide"),g.viewEntry(d)}),document.addEvent("click:relay(button[data-task=editCalEvent], a[data-task=editCalEvent])",function(b){b.preventDefault();var c=b.target.findClassUp("calEventButtons").id;c=c.replace(/_buttons/,"");var d=g.calendar.fullCalendar("clientEvents",c)[0];a("#"+c).popover("hide"),g.editEntry(d)}),document.addEvent("click:relay(button[data-task=deleteCalEvent], a[data-task=deleteCalEvent])",function(b){b.preventDefault();var c=b.target.findClassUp("calEventButtons").id;c=c.replace(/_buttons/,"");var d=g.calendar.fullCalendar("clientEvents",c)[0];a("#"+c).popover("hide"),g.deleteEntry(d)}),a(document).on("click",".popover .jclose",function(b){b.preventDefault();var c=a(b.target).attr("data-popover");a("#"+c).popover("hide")}),this.ajax.deleteEvent=new Request({url:this.options.url.del,data:{visualizationid:this.options.calendarId},onComplete:function(){g.calendar.fullCalendar("refetchEvents")}})},processEvents:function(c,d){c=$H(JSON.decode(c));var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=[];c.each(function(c){n=a(b.jLayouts["fabrik-visualization-fullcalendar-event-popup"])[0],o=c._listid+"_"+c.id,n.id="fabrikevent_"+o,p=a(b.jLayouts["fabrik-visualization-fullcalendar-viewevent"])[0],q=moment(c.startdate),r=moment(c.enddate),l=m="",(moment(r.format("YYYY-MM-DD"))>moment(q.format("YYYY-MM-DD"))||c.startShowTime===!1&&c.endShowTime===!1)&&(l=q.format("MMM DD")+" ",m=r.format("MMM DD")+" "),e=f="",c.startShowTime===!0&&c.endShowTime===!0&&(e=q.format("hh.mm A"),f=r.format("hh.mm A")),p.getElement("#viewstart").innerHTML=l+e,p.getElement("#viewend").innerHTML=m+f,g=a(b.jLayouts["fabrik-visualization-fullcalendar-viewbuttons"]),g[0].id="fabrikevent_buttons_"+o,i=g.find(".popupDelete"),c._canDelete===!1?i.remove():i.attr("title",Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_DELETE")),j=g.find(".popupEdit"),c._canEdit===!1?j.remove():j.attr("title",Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_EDIT")),k=g.find(".popupView"),c._canView===!1?k.remove():k.attr("title",Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_VIEW")),a(n).attr("data-content",a(p).prop("outerHTML")+g.prop("outerHTML")),h=""===l?"auto":"200px",a(n).attr("data-title",'
'+c.label+"
"),a(n).append(c.label),s.push({id:n.id,title:a(n).prop("outerHTML"),start:c.startdate,end:c.enddate,url:c.link,className:c.status,allDay:c.allday,listid:c._listid,rowid:c.__pk_val,formid:c._formid})}.bind(s)),d(s)},addEvForm:function(c){var d=this;"undefined"!=typeof a&&a(this.popOver).popover("hide"),this.windowopts.id="addeventwin";var e="index.php?option=com_fabrik&controller=visualization.fullcalendar&view=visualization&task=addEvForm&format=raw&listid="+c.listid+"&rowid="+c.rowid;if(e+="&visualizationid="+this.options.calendarId,c.nextView&&(e+="&nextview="+c.nextView),e+="&fabrik_window_id="+this.windowopts.id,null!==this.clickdate){var f=d.calendar.fullCalendar("option","defaultTimedEventDuration").split(":"),g=moment(this.clickdate).add({h:f[0],m:f[1],s:f[2]}).format("YYYY-MM-DD HH:mm:ss");e+="&start_date="+this.clickdate+"&end_date="+g}this.windowopts.type="window",this.windowopts.contentURL=e,this.windowopts.title=c.title,this.windowopts.modalId="fullcalendar_addeventwin";var h=this.options.filters;this.windowopts.onContentLoaded=function(){h.each(function(a){if(document.id(a.key))switch(document.id(a.key).get("tag")){case"select":document.id(a.key).selectedIndex=a.val;break;case"input":document.id(a.key).value=a.val}}),this.fitToContent(!1)},b.getWindow(this.windowopts)},viewEntry:function(a){this.clickdate=null;var b={};b.id=a.formid,b.rowid=a.rowid,b.listid=a.listid,b.nextView="details",b.title=Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_VIEW_EVENT"),this.addEvForm(b)},editEntry:function(a){this.clickdate=null;var b={};b.id=a.formid,b.rowid=a.rowid,b.listid=a.listid,b.nextView="form",b.title=Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_EDIT_EVENT"),this.addEvForm(b)},deleteEntry:function(a){window.confirm(Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_CONF_DELETE"))&&(this.ajax.deleteEvent.options.data={id:a.rowid,listid:a.listid},this.ajax.deleteEvent.send())},clickEntry:function(b){if(this.options.showFullDetails===!1){var c="fabrikevent_"+b.listid+"_"+b.rowid;a("#"+c).popover("show")}else this.viewEntry(b)},openAddEvent:function(a,b,c){var d,e,f,g,h,i,j,k;if(this.options.canAdd!==!1&&("month"!==b||this.options.readonlyMonth!==!0)){switch(a.type){case"dblclick":k=c;break;case"click":k=moment();break;default:return void window.alert("Unknown event in OpenAddEvent: "+a.type)}"month"===b?f=g="00":(f=(f=k.hour())<10?"0"+f:f,g=(g=k.minute())<10?"0"+g:g),e=(e=k.date())<10?"0"+e:e,h=(h=k.month()+1)<10?"0"+h:h,i=k.year(),this.clickdate=i+"-"+h+"-"+e+" "+f+":"+g+":00",("dblclick"!==a.type||this.dateInLimits(this.clickdate))&&(this.options.eventLists.length>1?this.openChooseEventTypeForm(this.clickdate,d):(j={},j.rowid="",j.id="",j.listid=this.options.eventLists[0].value,j.title=Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_ADD_EVENT"),this.addEvForm(j)))}},dateInLimits:function(a){var b=new moment(a);if(""!==this.options.dateLimits.min){var c=new moment(this.options.dateLimits.min);if(b.isBefore(c))return window.alert(Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_DATE_ADD_TOO_EARLY")),!1}if(""!==this.options.dateLimits.max){var d=new moment(this.options.dateLimits.max);if(b.isAfter(d))return window.alert(Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_DATE_ADD_TOO_LATE")),!1}return!0},openChooseEventTypeForm:function(a,c){var d="index.php?option=com_fabrik&tmpl=component&view=visualization&controller=visualization.fullcalendar&task=chooseAddEvent&format=partial&id="+this.options.calendarId+"&d="+a+"&rawd="+c;d+="&renderContext="+this.el.prop("id").replace(/visualization_/,""),this.windowopts.contentURL=d,this.windowopts.id="chooseeventwin",this.windowopts.modalId="fullcalendar_!chooseeventwin",b.getWindow(this.windowopts)}});return c}); \ No newline at end of file +define(["jquery","fab/fabrik","fullcalendar"],function(t,e,i){var n=new Class({Implements:[Options],options:{canAdd:!1,show_week:!1,show_day:!1,default_view:"dayView",time_format:"",first_week_day:1,minDuration:0,greyscaledweekend:!1,calOptions:{},url:{del:"index.php?option=com_fabrik&controller=visualization.fullcalendar&view=visualization&task=deleteEvent&format=raw"}},initialize:function(i,n){function o(t,e,i){c=t,p=i.name,d.calendar.on("mousemove",a)}function a(){c=p=null,d.calendar.off("mousemove",a)}var d=this,s="",l=[];this.el=t("#"+i),this.calendar=this.el.find('*[data-role="calendar"]'),this.setOptions(n),this.date=new Date,this.clickdate=null,this.ajax={},this.windowopts={id:"addeventwin",title:"",loadMethod:"xhr",minimizable:!1,evalScripts:!0},this.el.find(".addEventButton").on("click",function(t){t.preventDefault(),d.openAddEvent(t)}),e.addEvent("fabrik.form.submitted",function(t,i){d.calendar.fullCalendar("refetchEvents"),e.Windows.addeventwin.close()}),this.options.eventLists.each(function(t,e){l.push({events:function(i,n,o,a){new Request({url:this.options.url.add+"&listid="+t.value+"&eventListKey="+e,evalScripts:!0,onSuccess:function(t,e){"null"!==typeOf(e)&&this.processEvents(e,a)}.bind(this,a)}).send()}.bind(this),color:t.colour})}.bind(this)),this.options.show_week!==!1&&(s+="agendaWeek"),this.options.show_day!==!1&&(s.length>0&&(s+=","),s+="agendaDay"),s.length>0&&(s="month,"+s);var r="month";switch(this.options.default_view){case"monthView":break;case"weekView":this.options.show_week!==!1&&(r="agendaWeek");break;case"dayView":this.options.show_day!==!1&&(r="agendaDay")}var c=null,p=null;this.calendar.dblclick(function(t){c&&d.openAddEvent(t,p,c)}),this.calOptions={header:{left:"prev,next today",center:"title",right:s},fixedWeekCount:!1,timeFormat:this.options.time_format,defaultView:r,nextDayThreshold:"00:00:00",firstDay:this.options.first_week_day,eventSources:l,defaultTimedEventDuration:this.options.minDuration,minTime:this.options.open,maxTime:this.options.close,weekends:this.options.showweekends,eventClick:function(t,e,i){return d.clickEntry(t),!1},dayClick:o,viewRender:function(e,i){d.options.greyscaledweekend===!0&&(t("td.fc-sat").css("background","#f2f2f2"),t("td.fc-sun").css("background","#f2f2f2"))},eventRender:function(t,e){e.find(".fc-title").html(t.title)},loading:function(e){e||t(".fc-view-container").delegate(".popover button.jclose","click",function(){var e=t(this).data("popover");t("#"+e).popover("hide")})}},t.extend(!0,this.calOptions,JSON.parse(d.options.calOptions)),this.calendar.fullCalendar(this.calOptions),document.addEvent("click:relay(button[data-task=viewCalEvent], a[data-task=viewCalEvent])",function(e){e.preventDefault();var i=e.target.findClassUp("calEventButtons").id;i=i.replace(/_buttons/,"");var n=d.calendar.fullCalendar("clientEvents",i)[0];t("#"+i).popover("hide"),d.viewEntry(n)}),document.addEvent("click:relay(button[data-task=editCalEvent], a[data-task=editCalEvent])",function(e){e.preventDefault();var i=e.target.findClassUp("calEventButtons").id;i=i.replace(/_buttons/,"");var n=d.calendar.fullCalendar("clientEvents",i)[0];t("#"+i).popover("hide"),d.editEntry(n)}),document.addEvent("click:relay(button[data-task=deleteCalEvent], a[data-task=deleteCalEvent])",function(e){e.preventDefault();var i=e.target.findClassUp("calEventButtons").id;i=i.replace(/_buttons/,"");var n=d.calendar.fullCalendar("clientEvents",i)[0];t("#"+i).popover("hide"),d.deleteEntry(n)}),t(document).on("click",".popover .jclose",function(e,i){e.preventDefault();var n=t(e.target).attr("data-popover");t("#"+n).popover("hide")}),this.ajax.deleteEvent=new Request({url:this.options.url.del,data:{visualizationid:this.options.calendarId},onComplete:function(){d.calendar.fullCalendar("refetchEvents")}})},processEvents:function(i,n){i=$H(JSON.decode(i));var o,a,d,s,l,r,c,p,u,v,h,f,m,w,_=[];i.each(function(i){v=t(e.jLayouts["fabrik-visualization-fullcalendar-event-popup"])[0],h=i._listid+"_"+i.id,v.id="fabrikevent_"+h,f=t(e.jLayouts["fabrik-visualization-fullcalendar-viewevent"])[0],m=moment(i.startdate),w=moment(i.enddate),p=u="",(moment(w.format("YYYY-MM-DD"))>moment(m.format("YYYY-MM-DD"))||i.startShowTime===!1&&i.endShowTime===!1)&&(p=m.format("MMM DD")+" ",u=w.format("MMM DD")+" "),o=a="",i.startShowTime===!0&&i.endShowTime===!0&&(o=m.format("hh.mm A"),a=w.format("hh.mm A")),f.getElement("#viewstart").innerHTML=p+o,f.getElement("#viewend").innerHTML=u+a,d=t(e.jLayouts["fabrik-visualization-fullcalendar-viewbuttons"]),d[0].id="fabrikevent_buttons_"+h,l=d.find(".popupDelete"),i._canDelete===!1?l.remove():l.attr("title",Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_DELETE")),r=d.find(".popupEdit"),i._canEdit===!1?r.remove():r.attr("title",Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_EDIT")),c=d.find(".popupView"),i._canView===!1?c.remove():c.attr("title",Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_VIEW")),t(v).attr("data-content",t(f).prop("outerHTML")+d.prop("outerHTML")),s=""===p?"auto":"200px",t(v).attr("data-title",'
'+i.label+"
"),t(v).append(i.label),_.push({id:v.id,title:t(v).prop("outerHTML"),start:i.startdate,end:i.enddate,url:i.link,className:i.status,allDay:i.allday,listid:i._listid,rowid:i.__pk_val,formid:i._formid})}.bind(_)),n(_)},addEvForm:function(i){var n=this;"undefined"!=typeof t&&t(this.popOver).popover("hide"),this.windowopts.id="addeventwin";var o="index.php?option=com_fabrik&controller=visualization.fullcalendar&view=visualization&task=addEvForm&format=raw&listid="+i.listid+"&rowid="+i.rowid;if(o+="&visualizationid="+this.options.calendarId,i.nextView&&(o+="&nextview="+i.nextView),o+="&fabrik_window_id="+this.windowopts.id,null!==this.clickdate){var a=n.calendar.fullCalendar("option","defaultTimedEventDuration").split(":"),d=moment(this.clickdate).add({h:a[0],m:a[1],s:a[2]}).format("YYYY-MM-DD HH:mm:ss");o+="&start_date="+this.clickdate+"&end_date="+d}this.windowopts.type="window",this.windowopts.contentURL=o,this.windowopts.title=i.title,this.windowopts.modalId="fullcalendar_addeventwin";var s=this.options.filters;this.windowopts.onContentLoaded=function(){s.each(function(t){if(document.id(t.key))switch(document.id(t.key).get("tag")){case"select":document.id(t.key).selectedIndex=t.val;break;case"input":document.id(t.key).value=t.val}}),this.fitToContent(!1)},e.getWindow(this.windowopts)},viewEntry:function(t){this.clickdate=null;var e={};e.id=t.formid,e.rowid=t.rowid,e.listid=t.listid,e.nextView="details",e.title=Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_VIEW_EVENT"),this.addEvForm(e)},editEntry:function(t){this.clickdate=null;var e={};e.id=t.formid,e.rowid=t.rowid,e.listid=t.listid,e.nextView="form",e.title=Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_EDIT_EVENT"),this.addEvForm(e)},deleteEntry:function(t){window.confirm(Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_CONF_DELETE"))&&(this.ajax.deleteEvent.options.data={id:t.rowid,listid:t.listid},this.ajax.deleteEvent.send())},clickEntry:function(e){if(this.options.showFullDetails===!1){var i="fabrikevent_"+e.listid+"_"+e.rowid;t("#"+i).popover("show")}else this.viewEntry(e)},openAddEvent:function(t,e,i){var n,o,a,d,s,l,r,c;if(this.options.canAdd!==!1&&("month"!==e||this.options.readonlyMonth!==!0)){switch(t.type){case"dblclick":c=i;break;case"click":c=moment();break;default:return void window.alert("Unknown event in OpenAddEvent: "+t.type)}"month"===e?a=d="00":(a=(a=c.hour())<10?"0"+a:a,d=(d=c.minute())<10?"0"+d:d),o=(o=c.date())<10?"0"+o:o,s=(s=c.month()+1)<10?"0"+s:s,l=c.year(),this.clickdate=l+"-"+s+"-"+o+" "+a+":"+d+":00",("dblclick"!==t.type||this.dateInLimits(this.clickdate))&&(this.options.eventLists.length>1?this.openChooseEventTypeForm(this.clickdate,n):(r={},r.rowid="",r.id="",r.listid=this.options.eventLists[0].value,r.title=Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_ADD_EVENT"),this.addEvForm(r)))}},dateInLimits:function(t){var e=new moment(t);if(""!==this.options.dateLimits.min){var i=new moment(this.options.dateLimits.min);if(e.isBefore(i))return window.alert(Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_DATE_ADD_TOO_EARLY")),!1}if(""!==this.options.dateLimits.max){var n=new moment(this.options.dateLimits.max);if(e.isAfter(n))return window.alert(Joomla.JText._("PLG_VISUALIZATION_FULLCALENDAR_DATE_ADD_TOO_LATE")),!1}return!0},openChooseEventTypeForm:function(t,i){var n="index.php?option=com_fabrik&tmpl=component&view=visualization&controller=visualization.fullcalendar&task=chooseAddEvent&format=partial&id="+this.options.calendarId+"&d="+t+"&rawd="+i;n+="&renderContext="+this.el.prop("id").replace(/visualization_/,""),this.windowopts.contentURL=n,this.windowopts.id="chooseeventwin",this.windowopts.modalId="fullcalendar_!chooseeventwin",e.getWindow(this.windowopts)}});return n}); \ No newline at end of file diff --git a/plugins/fabrik_visualization/fullcalendar/fullcalendar.js b/plugins/fabrik_visualization/fullcalendar/fullcalendar.js index 6f8258ad7e3..14f81268be5 100644 --- a/plugins/fabrik_visualization/fullcalendar/fullcalendar.js +++ b/plugins/fabrik_visualization/fullcalendar/fullcalendar.js @@ -138,17 +138,18 @@ define(['jquery', 'fab/fabrik', 'fullcalendar'], function (jQuery, Fabrik, fc) { defaultTimedEventDuration: this.options.minDuration, minTime : this.options.open, // a start time (10am in this example) maxTime : this.options.close, // an end time (6pm in this example) + weekends : this.options.showweekends, eventClick : function (calEvent, jsEvent, view) { self.clickEntry(calEvent); return false; }, dayClick : dayClickCallback, viewRender : function (view, e) { - if (view.name === 'month' && self.options.greyscaledweekend === true) { + if (self.options.greyscaledweekend === true) { jQuery('td.fc-sat').css('background', '#f2f2f2'); jQuery('td.fc-sun').css('background', '#f2f2f2'); } - }, + }, eventRender : function (event, element) { element.find('.fc-title').html(event.title); }, @@ -256,9 +257,9 @@ define(['jquery', 'fab/fabrik', 'fullcalendar'], function (jQuery, Fabrik, fc) { width = (dispStartDate === '' ? 'auto' : '200px'); jQuery(popup).attr('data-title', '
' + + '">
' + e.label + '
'); jQuery(popup).append(e.label); diff --git a/plugins/fabrik_visualization/fullcalendar/layouts/fabrik-visualization-fullcalendar-viewbuttons.php b/plugins/fabrik_visualization/fullcalendar/layouts/fabrik-visualization-fullcalendar-viewbuttons.php index 8395452d503..3b1a0850bb6 100644 --- a/plugins/fabrik_visualization/fullcalendar/layouts/fabrik-visualization-fullcalendar-viewbuttons.php +++ b/plugins/fabrik_visualization/fullcalendar/layouts/fabrik-visualization-fullcalendar-viewbuttons.php @@ -3,7 +3,7 @@ ?>