Javascript error is caused when trying to add a pane with a slideshow on it to a panel. The slideshow create function runs as panels loads the content, but the prepare function returns undefined.

Fix is to simply check if the prepare function returns undefined.

Comments

mlanth’s picture

Status: Active » Needs review
Tyler the Creator’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

  • Tyler Pepper committed 10d54c1 on 7.x-1.x authored by mlanth
    Issue #2352241 by mlanth: fixed js error when adding pane with slideshow...
Tyler the Creator’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.