| Issue 466: | Multiple ajax calls when using lazyFetching as true/false (1.4.5) | |
| 3 people starred this issue and may be notified of changes. | Back to list |
I had enabled lazyFetching option with true/false. then calendar sending
multiple ajax calls to get data.
Here is my configuration
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
editable: false,
disableDragging:true,
contentHeight: 500,
width: 800,
minTime:9,
maxTime:21,
lazyFetching:true,
defaultView:'agendaWeek',
loading: function(isLoading, view){
if(isLoading){
$('.fc-button-prev, .fc-button-next , .fc-button-month ,
.fc-button-agendaWeek , .fc-button-agendaDay').hide();
$('.products').attr("disabled","disabled");
}else{
$('.fc-button-prev, .fc-button-next , .fc-button-month ,
.fc-button-agendaWeek , .fc-button-agendaDay').show();
$('.products').removeAttr("disabled");
}
}
});
function loadCal(storeId,contactId){
$('#calendar').fullCalendar( 'removeEvents');
$('#calendar').fullCalendar( 'addEventSource',
'getApptsByStore.action?storeId='+storeId+'&contactId='+contactId);
}
Jun 14, 2010
woah, doesnt sound good. can you post an html file that i can execute and see the problem?
Oct 7, 2010
(No comment was entered for this change.)
Status:
Reproducing
Nov 21, 2010
this was probably fixed in 1.4.7 or 1.4.8
Status:
Done
Mar 4, 2011
I think is not a bug of fullcalendar. The problem is on the code. I've explained one solution on: http://www.microteching.com/javascript/multiples-llamadas-ajax-en-el-fullcalendar Explanation is in spanish, but I suppose there will be no problem to understand the code. xD |
|
| ► Sign in to add a comment |
155 KB View Download