I'm using jCarousel with callback functions, whose names cannot be passed through drupal_to_js. When I just call jq_add('jcarousel') or jcarousel_add(), the browser javascript bombs with an error and all other scripts on the page never run. This is because you're attempting to run jQuery.each() on a non-existent array.

Here's a patch that gets me through this spot.

CommentFileSizeAuthor
#1 jcarouselwheee.patch967 bytesrobloach
jcarousel-without-settings.patch892 bytesAnonymous (not verified)

Comments

robloach’s picture

StatusFileSize
new967 bytes

How about this?

robloach’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
robloach’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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