My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 702: After remove() when adding new event, removed event reappears
2 people starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Nov 2010


Sign in to add a comment
 
Reported by geeky....@gmail.com, Nov 8, 2010
This may be a problem with my code more than a bug, but I can't seem to get an answer in stackoverflow.

I have $(this).remove() for an event and as expected it disappears from view.

I then drag a new event onto any date in the calendar and the delted event reappears.  H

However any sort of refresh of the page and it is gone permanently.  i.e. prev/next of a page reload do the trick.

So it seems as though the event isn't actually destroyed on a remove()
Nov 10, 2010
Project Member #1 althaus.it
I think you should use the removeEvents() method:

http://arshaw.com/fullcalendar/docs/event_data/removeEvents/
Nov 10, 2010
#2 xxxmicro...@gmail.com
Thanks for that.  The documentation is really hard to wade through.  That solved my problem!!! YAY!
Nov 21, 2010
Project Member #3 adamrs...@gmail.com
thanks althaus.it
Status: Done
Sign in to add a comment

Powered by Google Project Hosting