I'm using Fullcalendar called via json and something really weird is happening and this is killing me! Can't find a workaround for it.
I have my calender under a tab. When I click on that tab, the calendar grid shows up, but with no events. If I hit the calendar Next Month and then back to Previous Month, the events all display properly!
If I navigate to another page and then come back to the calendar page, the same thing happens. Have to go next and previous for the events to load.
This is how I am calling the calendar:
$(document).ready(function() {
$('#calendar').fullCalendar({
editable: false,
events: "../events_calendar.php",
loading: function(bool) {
if (bool) $('#loading').show();
else $('#loading').hide();
}
}); });
Any ideas here??
Thanks.