Issue 1375: Prevent Event Revert
Status:  Invalid
Owner: ----
Closed:  Aug 2013
Reported by Kenji...@gmail.com, Apr 13, 2012
While trying to make a function that will allow me to drag events off the calendar to be deleted, I am hitting a recursive loop because the calendar attempts to revert the event the item back to it's original position before the delete command runs. This causes the eventDragStop event to fire again, and seemingly forever. If I could prevent this reverting then the delete could run, preventing the loop. I also want to attach an animation to the event div (hide, explode) but that only plays after the event has been reverted back to it's original position.

            eventDragStop: function(event, jsEvent, ui, view)
            {        
                    if (isElemOverDiv(ui, $('#calendarTrash')))
                    {
                        //need to stop event reverting
                        var eventId = event.id;
                        $('.'+eventId).hide('explode');
                       // $('#calendar').fullCalendar('removeEvents', eventId); <--- this line ends up freaking out, causing an infinite loop of errors
                    }                                         
            },

Or if there is a better way to do this, I'm certainly happy to to it that way too.

Aug 15, 2013
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Status: ReproTemp
Aug 25, 2013
Project Member #2 adamrs...@gmail.com
This message is being bulk-sent to a number of issues, both [very] old and new.

I have been working on taming this issue tracker, which has gotten out of control after months of neglect. You are receiving this message because I could not successfully reproduce the bug you were reporting with a reasonable amount of effort. I have written some new bug-report guidelines to be used by all bug reports going forward:

    http://arshaw.com/fullcalendar/wiki/Report-a-Bug/

Its salient point is that all bug reports should have an isolated demonstration, viewable online with a tool like JSFiddle.

If the bug you originally reported is still important to you, could you please first try the latest version of FullCalendar and see if it is fixed? If not, could you please file a NEW bug report that follows the new guidelines? This issue will not be monitored for further comments.

I'm sorry I have taken so long to respond to many of your request, and I'm sorry if this new procedure causes extra work for you. Going forward, the issue tracker will be much more of a well-oiled machine.

Again, if you must, PLEASE SUBMIT A *NEW* BUG REPORT (following the new guidelines) INSTEAD OF COMMENTING ON THIS ONE. Further comments on this report will be ignored. Thanks.
Status: Invalid
Labels: Type-Bug