Category : droppable

I’m trying to update a Task with FullCalendar using the draggable and the droppable. I’m doing an ajax request when we drop a task to update it. I sent the good task to my controller : eventDrop:function(info) { let start=moment(info.event.start).format(‘YYYY/MM/DD hh:mm’); let end=moment(info.event.end).format(‘YYYY/MM/DD hh:mm’); $.ajax({ url:”{{path(‘update_tache’)}}”, data: ‘start=’+start+’&end=’+end+’&id=’+ , type: “GET”, success: function(json) { ..

Read more