My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 905: viewDisplay: function(view) is fired on load
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  May 2011


Sign in to add a comment
 
Reported by p.stud...@gmail.com, Apr 13, 2011

Combined with my other problem i found out that:

If I use 
<code exapmle>

eventSources ['feed1.php'],
viewDisplay: function(view) { $('#calendar').fullCalendar( 'addEventSource', 'feed1.php' ); }

<code exapmle>

and the calendar loads for the first time with page load then the feed1.php will be loaded TWICE and duplicated.

viewDisplay is fired before anything is clicked on load. And in my case is making feeds redundant.


I think there should be a dateDisplay event? or something?

May 8, 2011
Project Member #1 adamrs...@gmail.com
call addEventSource will always add the new event source, even if it will cause duplicates. what is the purpose of calling addEventSource though? it seems unnecessary.
Status: Done
Sign in to add a comment

Powered by Google Project Hosting