I expect these buttons to navigate one month up or down, but when I click on it, multiple clicks are thrown, resulting in moving two months (sometimes more) away instead of one.
To make work this code I placed it inside the viewRender function, which I'm suspecting is the cause of this behaviour. However, I tried to fire these events from the controller and I get same behaviour.
Hi :)
I'm using external buttons for prev and next buttons like this:
$('#my-prev-button').click(function() { $('#calendar').fullCalendar('prev'); });
$('#my-next-button').click(function() { $('#calendar').fullCalendar('next'); });
I expect these buttons to navigate one month up or down, but when I click on it, multiple clicks are thrown, resulting in moving two months (sometimes more) away instead of one.
To make work this code I placed it inside the viewRender function, which I'm suspecting is the cause of this behaviour. However, I tried to fire these events from the controller and I get same behaviour.
Any help would be much appreciated, thanks!