Add Calendar in Admin

This commit is contained in:
Mathieu Lagace
2019-08-17 18:02:09 -04:00
parent d4b3b1b47d
commit a63eafb833
19 changed files with 649 additions and 219 deletions

View File

@@ -12,8 +12,7 @@ function initFullCalendar(authToken) {
},
events: '/api/schedule/events',
eventClick: function (info) {
console.log(info.event.id)
$.get("/api/schedule/full/events/" + info.event.id + "/modal?api_token="+authToken, function (data) {
$.get("/api/schedule/full/events/" + info.event.id + "/"+ info.event.extendedProps.extraParams.db_type + "/modal?api_token="+authToken, function (data) {
$("#modal-content").html(data);
});
$('#schedulemodal').modal('toggle')