I have a number of slideshows and JS methods defined on the site I am building. Perhaps this is the reason, but when I create a new slideshow the javascript breaks because of the following error:

Uncaught TypeError: Cannot read property 'transitionBegin' of undefined

and it refers to line 174 in the views_slideshow.js.

Files: 

Comments

Status:Active» Needs review
StatusFileSize
new1.05 KB

Patch wraps the method call into a defined check and thus fixes the JS. I am not 100% sure that this is not a workaround to a deeper problem, but at the moment I can't debug in more detail.

Same issue. It caused the Admin Menu to disappear and Superfish Menu subitems stopped expanding. Thank you snufkin for the patch. For time being, I have used it.

This error manifests in FF as "Drupal[methods[i]] is undefined on line 181 - views_slideshow.js". Based on my testing, this is the same problem, but "Uncaught TypeError: Cannot read property 'transitionBegin' of undefined" is what Chrome reports. The above patch works for me. Thanks.

Check #1085888: Drupal[methods[i]] is undefined on line 181 - views_slideshow.js and other duplicate issues for information.

Status:Needs review» Fixed

I have added the extra check. Thanks Snufkin

Status:Fixed» Closed (fixed)

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

This needs to be backported to 6.x as it's equally broken there. Enabling block caching in a view causes slideshow blocks to break due to this issue.