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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | jcarouselwheee.patch | 967 bytes | robloach |
| jcarousel-without-settings.patch | 892 bytes | Anonymous (not verified) |
Comments
Comment #1
robloachHow about this?
Comment #2
robloachComment #3
robloachhttp://drupal.org/cvs?commit=284670