Mobile Month View – Javascript Issue

Home Forums Calendar Products Events Calendar PRO Mobile Month View – Javascript Issue

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1027132
    itecsresources
    Participant

    I’ve gone through the various steps on the Testing for Conflicts site and have noticed that the Javascript used in the mobile month view is doing a check that is setting the date_name variable to blank resulting in the output rendering as “Events For ”

    Screen Shot 2015 11 17 at 3 11 56 PM

    Upon investigation and debugging lots of Javascript, I’ve tracked the problem down to lines 158-162 of tribe-events-ajax-calendar.js

    // Backwards compatibility
     // @todo "Check if we can remove this check"
        if ( data.has_events ) {
            data.date_name = '';
        }

    This renders into the minified file as well. If I comment out the data.date_name = ''; line, all starts working as normal. I’d appreciate any insight you can give or maybe this is a bug that got leftover. Happy to help in anyway I can.

    #1027229
    Barry
    Member

    Hi Jason,

    Thanks for highlighting this (and our apologies for the disruption).

    Commenting that out seems like a solid working solution until we can make a change in an upcoming release, but it certainly seems like it is a left-over piece of code we can now dispense with 🙂

    #1039242
    Geoff
    Member

    Hey Jason,

    Just jumping in to let you now that the patch for this issue is included in 4.0.1 and it just released today. Keep your eyes open for the update and please do let us know if any other issues pop up and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Mobile Month View – Javascript Issue’ is closed to new replies.