Home › Forums › Calendar Products › Events Calendar PRO › Calendar View on Mobile Shows Dates from Previous Month
- This topic has 3 replies, 3 voices, and was last updated 10 years, 10 months ago by
Leah.
-
AuthorPosts
-
March 6, 2015 at 3:09 am #946429
twkmedia
ParticipantHi,
I’ve seen that this bug has already been reported in the forum here but since the topic is closed, I can’t reply to the topic anymore.
I just wanted to tell you that I figured where the bug is and made a fix for it, in case you haven’t found it yet yourselves.
The bug is located in /the-events-calendar/resources/tribe-events-ajax-calendar.js on line 120 in the tribe_mobile_load_events function
function tribe_mobile_load_events( date ) { var date_adj = date; if ( date < 10 ) { date_adj = '0' + date; } var $target = $( '.tribe-mobile-day[data-day="' + date + '"]' ), $more = $( '.tribe-event-day-' + date_adj + ' .tribe-events-viewmore' ), $events = $( '.tribe-event-day-' + date_adj + ' .hentry' );should be
function tribe_mobile_load_events( date ) { var date_adj = date; if ( date < 10 ) { date_adj = '0' + date; } var $target = $( '.tribe-mobile-day[data-day="' + date + '"]' ), $more = $( '.tribe-event-day-' + date_adj + ' .tribe-events-viewmore' ), $events = $( '.tribe-event-day-' + date_adj + ' .hentry' );March 6, 2015 at 5:18 am #946454Brian
MemberThanks for providing this coding for us.
Glad you have a fix.
We do have a fix for this in our next release and I am adding this ticket to our internal one for reference.
Thanks again for sharing.
April 30, 2015 at 4:58 am #959528Brian
MemberSince I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂
June 2, 2015 at 2:12 pm #966740Leah
MemberHi there,
Thank you for your support and patience while we worked on this issue. We are happy announce that we have incorporated a fix into our upcoming 3.10 release. Keep an eye out for a release announcement on our site and for updates available on your WordPress dashboard.
While we have thoroughly tested this release and are confident of its quality, it is impossible to account for every edge case in the wide world of WordPress. If you run into trouble with the new version or you don’t see your reported issue corrected, please start a new thread and we will be happy to work with you.
Thanks again for your patience here. We’re excited to get this version out the door and into your hands!
Best,
The Events Calendar Team -
AuthorPosts
- The topic ‘Calendar View on Mobile Shows Dates from Previous Month’ is closed to new replies.
