VSX is undefined.. well yeah!

Created on 7 September 2013, over 11 years ago
Updated 26 November 2024, 3 months ago

So I have created a views slideshow xtra overlay. I kept getting the error in console.log

Uncaught TypeError: Cannot read property 'slideshowID' of undefined views_slideshow_xtra.js?msroqn:31

Well... I am not sure why VSX is even being added... I have set no options for VSX only VSX overlay. So that would result in no properties for the view to be read. I just created an if statement wrapping views_slideshow_xtra.js starting at line 8

if(Drupal.settings.viewsSlideshowXtra){
// all the cool VSX js is here
}

I am unsure if this is a good work around or not. I will submit a patch if someone can replicate.

-Jesse

πŸ› Bug report
Status

Closed: outdated

Version

3.8

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dobe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024