Javascript broken in the Week view

Home Forums Calendar Products Events Calendar PRO Javascript broken in the Week view

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #69550
    Grégory
    Participant

    Hi.

    The week view seems to be broken to me, the events don’t appear.
    Digging few hours, I can confirm the problem is not a php one, but a javascript one.

    Error in the console:
    TypeError: $(...).position(...) is undefined
    jquery.slimscroll.js (line 275)
    scrollContent($(o.start).position().top, null, true);

    What I’ve found:
    – At this line of slimscroll.js, o.start is an empty jquery object (uh?).
    – Why .position() isn’t defined? Hrrr… should be in “What I haven’t found”.

    What I’ve tried, without success:
    – disable all plugins.
    – use Twenty Eleven, Twenty Twelve, and another theme.
    – other versions of jQuery (which is loaded, before slimScroll): 1.8.2 (Google CDN), 1.10.2 (Google CDN), 1.10.2 (WP version).
    – update slimScroll to 1.3.0.
    – call an exorcist. ^^

    Confirm the bug location:
    – Open tribe-events-week.js
    – Look for the tribe_go_to_8() function (line 72 of the dev file)
    – Put return $('.tribe-week-grid-wrapper'); at the beginning of the function, save.
    – Reload the page in week view: slimScroll is not running, but the events appear.

    Config:
    – WP 3.6.1
    – TEC 3.1 / TEC PRO 3.1
    – No custom templates
    – 1 or 2 Events in the week
    – local site, but reachable from outside, can grant access if needed.

    Cheers
    Greg

    (btw, congrats for the new version(s) 3.1)

    #69766
    Barry
    Member

    That is strange – and thanks for letting us know. I’m not actually seeing the very same issue either locally or on our demo site which is also running our latest versions. It does seem that you have diligently run through the usual troubleshooting steps, however. Is it possible some resource was still present in a cache or anything of that order?

    Thanks!

    #73296
    Kelly
    Participant

    Hi, Greg. As it’s been over two weeks since your last reply, I’m going to close this thread. Please open a new one if you choose to pursue this further in the future.

    Thanks for being part of the TEC community! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Javascript broken in the Week view’ is closed to new replies.