Calendario
Calendario copied to clipboard
getCell Method Bug
I have come across a bug in the getCell Method were the var row = -1.
This seems to happen when you try to get the 1 day of the month when its the last item in the first row.
E.g Sunday 1 Nov 2015
Looking into it
Not sure if this helps you @ashhitch - I have made getCell() do this ("day" is the day number as a string)....
return this.$cal.find("span.fc-date").filter(function() {return $(this).text() == day;}).parent();
NB - i am only viewing one month at a time!
This seems to be a more simpler code without much calculation. If the tests go right this will be Intergrated. The whole idea was to return you event details, if your cell doesn't have any event's it is probably going to return undefined.
No solutions?
@helmerdavila get the latest from https://github.com/CalendarioFX/Calendario/
@deviprsd thank you