My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 619: manipulating the "dropped" element
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Oct 2010


Sign in to add a comment
 
Reported by spalexan...@gmail.com, Aug 29, 2010
Hello,

Been messing with fullcalendar and the external drag and drop example.  It appears to be what I need for my application.

However, I have hit a snag.  I am trying to drag an element from the external events div into my calendar and then apply a fade effect to change the background color of the "dropped" elements title.

But I can't seem to reference the dropped element.  According to your docs the drop function should have the ui information.

But, from everything I have read, ui.draggable should be the element that was dropped.

If I use $(this), it applies the effect to the external element.  If I use the $(ui.draggable) it is null.  If I just use the ui.draggable it errors out.

I was led to believe the ui.draggable is just the DOM element.

Am I missing something here or is this a bug?

Any help would be appreciated.
Oct 7, 2010
Project Member #1 adamrs...@gmail.com
after you drop the element onto a day, that element is discarded, and a brand new fullcalendar event is rendered. it is a different element, so that is why you had trouble referencing it.

this feature will likely help you (when it is implemented)
https://code.google.com/p/fullcalendar/issues/detail?id=263
Status: Done
Sign in to add a comment

Powered by Google Project Hosting