I'm using arshaw.com/fullcalendar/ in a Rails application. It's really good!!
I'm using eventDrop to update the events table when the user moves(drags) an event from one day to another. This works fine for dragging events that have start and end times. But, it doesn't update the table when you drag an allday event.
This is my table update code:
eventDrop: (event, dayDelta, minuteDelta, allDay, revertFunc) ->
updateEvent(event);
eventResize: (event, dayDelta, minuteDelta, revertFunc) ->
updateEvent(event);
updateEvent = (the_event) ->
$.update "/events/" + the_event.id,
event:
title: the_event.title,
starts_at: "" + the_event.start,
ends_at: "" + the_event.end,
description: the_event.description
Any ideas?
Thanks!