mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Add Calendar in Admin
This commit is contained in:
3
public/js/calendar.js
vendored
3
public/js/calendar.js
vendored
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user