My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1380: Fullcalendar: draggable object rejects fullcalendar as droppable even though fullcalendar accepts drop
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 550
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by abil...@gmail.com, Apr 19, 2012
This issue was discussed on:

http://stackoverflow.com/questions/9703822/fullcalendar-draggable-object-rejects-fullcalendar-as-droppable-even-though-ful

Repeating below:

I have set up FullCalendar to accept drops, which it does. But the draggable object, which I have constructed with revert:'invalid' does not seem to recognize the dates on FullCalendar as droppable, and reverts back.

A demonstration of this is at: http://jsfiddle.net/flavius/DEsdN/5/

A workaround can be seen at: http://jsfiddle.net/flavius/CZQkm/4/

The workaround is to execute the following command after fullcalendar has been instantiated:

$('#calendar .fc-content table .fc-widget-content > div').droppable();

which makes all of the calendar date HTML elements droppable.  The above, however, depends on the droppable component being installed....but it is not included in the jquery-ui-1.8.17.custom.min.js provided with fullcalendar.

In any case, it would also seem to me that if I set "droppable: true" when instantiating fullcalendar, then I should not have to instrument the individual calendar dates as droppable myself.
Aug 15, 2013
Project Member #1 adamrs...@gmail.com
I appreciate the effort you put in to make jquery ui's droppables work with fullcalendar.

 issue 550  more broadly deals with dragging and dropping events on/between calendars, so I will merge this issue with that, but I'll make a note regarding support of jqui droppable.
Status: Duplicate
Mergedinto: 550
Sign in to add a comment

Powered by Google Project Hosting