OnDayClick not working
Issue #4
resolved
Hey Lukasz
I love your calendar plugin. Easy to implement and style. But the OnDayClick-event is giving me a headache :) It doesn't seem to respond. I can see it's already reported as a bug. But is it corrected in the zipped download package yet?
Best regards
Comments (5)
-
repo owner -
repo owner - changed status to resolved
No further comment from creator
-
hi the onDayClick event is working only when the monthChangeAnimation options is true. the code
if (thisRef.options.onDayClick) { thisRef.$element.find('[data-group="days"] .day a').click(function() { return thisRef.options.onDayClick.call(this, thisRef.options.events); }); }
is present inside the delay function, and the delay function is called only when monthChangeAnimation=true
if (thisRef.options.monthChangeAnimation) { return setTimeout(delay, 0); }
-
repo owner - changed status to open
Found another issue
-
repo owner - changed status to resolved
The bug was fixed in version v0.5
- Log in to comment
Hi, as far as I see onDayClick event was fixed in version 0.2.1 so in 0.3 it should work perfectly, if it still doesn't work please let me know?