Issue 305: FullCalendar accesses json feed three times - results in duplicate data
Status:  Done
Owner: ----
Closed:  Feb 2010
Reported by sto...@gmail.com, Jan 27, 2010
When I visit my calendar page, FullCalendar is accessing my json feed three
times (the current time is 7:52 - 27th Jan 2010). This results in duplicate
events but I can't see why in my code.


Jan 27 07:52:02 antelope httpd: ********* json_list_events GET
Jan 27 07:52:02 antelope httpd: Start=2010-01-30 23:00:00 End=2010-03-13
23:00:00
Jan 27 07:52:02 antelope httpd: ********* json_list_events GET
Jan 27 07:52:02 antelope httpd: Start=2009-12-26 23:00:00 End=2010-02-06
23:00:00
Jan 27 07:52:03 antelope httpd: ********* json_list_events GET
Jan 27 07:52:03 antelope httpd: Start=2010-01-30 23:00:00 End=2010-03-13
23:00:00



events: function(start, end, callback) {

		// do some asynchronous ajax
		$.getJSON("url",
		{
			start: start.getTime(),
			end: end.getTime()
		},

		function(result) {
                  var calevents = result;
                  // then, pass the CalEvent array to the callback
                  callback(calevents);
		});
	},


Any ideas why this might be? Thanks
Jan 27, 2010
#1 sto...@gmail.com
I thikn the problem was my datepicker was interfering with FullCalendar.
Feb 5, 2010
Project Member #2 adamrs...@gmail.com
glad you figure it out
Status: Done
Dec 2, 2010
#3 frode.fu...@gmail.com
I'm experiencing the same thing for month view, clicking the month name in the header two times will load duplicate events into the calendar view. Any tips on how to avoid this happening?
Dec 26, 2010
Project Member #4 adamrs...@gmail.com
can you try the latest version? (this bug is probably fixed). if it is still bad, can you submit a new issue (following the instructions... including a demo). thanks!
Dec 26, 2010
#5 frode.fu...@gmail.com
Unfortuneatly not able to run the latest version due to many modifications that has been made to our version. Any chance you could point to some code changes or a patch? 

We do have plans to remove our modifications and rework them to be done by external css/jquery etc.

Regards,
Frode
Dec 31, 2010
Project Member #6 adamrs...@gmail.com
not sure how old your release is, but i'm having trouble locating the discreet patches i made, but you'd want to make you have all the new "EventManager" code:
https://github.com/arshaw/fullcalendar/blob/master/src/EventManager.js