Test performance

This commit is contained in:
Lagacé Mathieu
2020-01-24 10:33:16 -05:00
parent ef6f403e1b
commit 03cf1c5493
48 changed files with 4699 additions and 1727 deletions

View File

@@ -11,6 +11,11 @@ function initFullCalendar(authToken) {
right: 'prev,next'
},
events: '/api/schedule/events',
eventRender: function(event, element) {
if(event.icon){
element.find(".fc-title").prepend("<i class='"+event.icon+"'></i>");
}
},
eventClick: function (info) {
$.get("/api/schedule/events/modal/full/" + info.event.id + "/"+ info.event.extendedProps.extraParams.db_type + "?api_token="+authToken, function (data) {
$("#modal-content").html(data);
@@ -102,4 +107,4 @@ function deleteEvent(pid){
})
}
})
}
}