Calendario icon indicating copy to clipboard operation
Calendario copied to clipboard

getCell Method Bug

Open ashhitch opened this issue 10 years ago • 6 comments

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

ashhitch avatar Dec 22 '14 12:12 ashhitch

Looking into it

deviprsd avatar Jan 01 '15 11:01 deviprsd

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!

rarcherbythesea avatar Jan 06 '15 15:01 rarcherbythesea

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.

deviprsd avatar Jan 06 '15 21:01 deviprsd

No solutions?

helmerdx avatar Sep 16 '17 05:09 helmerdx

@helmerdavila get the latest from https://github.com/CalendarioFX/Calendario/

deviprsd avatar Sep 27 '17 18:09 deviprsd

@deviprsd thank you

helmerdx avatar Oct 12 '17 18:10 helmerdx