Issue 714: Run resizing events through eventRender/eventAfterRender
Status:  Released
Owner: ----
Closed:  Aug 2014
Reported by mail2...@gmail.com, Nov 16, 2010
Hi,

I customized the event title by adding an icon using Jquery in the eventAfterRender function. When you drag an event around the calendar, the event title changes into the time of the current timeslot. When you drop the event into the same timeslot where it came from, the event title still displays the time and thus my icon is gone. When I drop the event into another timeslot, the event title renders fine (with icon).

This happens in:
Firefox 3.6.12
IE 8
Chrome 7.0.517.44

Any ideas?

Thanks in advance.
Nov 21, 2010
Project Member #1 adamrs...@gmail.com
this is due to the way fullcalendar displays events while they are resizing (in the agenda views). fullcalendar does it in an optimized way, but it erases any changes that may have been done through eventRender/eventAfterRender.
Summary: Run resizing events through eventRender/eventAfterRender
Status: Maybe
Nov 21, 2010
#2 mail2...@gmail.com
Thanks for the reply, is there any workaround to fix this?
Sep 11, 2012
#3 maur...@gmail.com
Hi,
I'm encountering the same problem. I wanted to add a delete option:
eventAfterRender: function( event, element, view ) { 
  $(".fc-event-time", element).append('<a class="deleteEventsBtn" href="' + event.id + '">X</a>');
}

So the events are redrawn either if the event is modified or not? The only difference is that when an actual modification is made, the eventAfterRender is called, but not when nothing happened.

Can you advice a workaround?

Thanks in advance.
Aug 13, 2013
Project Member #4 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Accepted
Labels: Type-BehaviorMod
Aug 14, 2013
Project Member #5 adamrs...@gmail.com
(No comment was entered for this change.)
Labels: -Type-BehaviorMod Type-Behavior
Jul 22, 2014
Project Member #6 adamrs...@gmail.com
(No comment was entered for this change.)
Labels: milestone-skeleton
Jul 23, 2014
Project Member #7 adamrs...@gmail.com
This is fixed in v2.1 (beta)
http://blog.arshaw.com/1/post/2014/07/fullcalendar-210-beta.html

I would really appreciate if you could verify this. Thanks a lot!
Aug 14, 2014
Project Member #8 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Implemented
Aug 26, 2014
Project Member #9 adamrs...@gmail.com
This issue has been resolved with the official release of v2.1.0:
http://blog.arshaw.com/1/post/2014/08/fullcalendar-210-released.html

Please post any follow-up bug reports or feature requests as separate issues. Thanks.
Status: Released