Index: jcarousel.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/jcarousel/Attic/jcarousel.js,v retrieving revision 1.1.2.2.2.5 diff -u -p -r1.1.2.2.2.5 jcarousel.js --- jcarousel.js 25 Mar 2009 18:10:22 -0000 1.1.2.2.2.5 +++ jcarousel.js 31 Mar 2009 01:03:23 -0000 @@ -10,6 +10,7 @@ */ Drupal.behaviors.jcarousel = function() { // Iterate through each selector and add the carousel. + if (Drupal.settings.jcarousel) { jQuery.each(Drupal.settings.jcarousel, function(selector, options) { // Convert any callback arguments from strings to function calls. @@ -44,4 +45,5 @@ Drupal.behaviors.jcarousel = function() // Create the countdown element on non-processed elements. $(selector + ':not(.jcarousel-processed)').addClass('jcarousel-processed' + skin).jcarousel(options); }); + } };