? jq-562196-1.patch
Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.theme.inc,v
retrieving revision 1.1.2.1.2.3
diff -u -p -r1.1.2.1.2.3 views_slideshow_singleframe.theme.inc
--- contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc	28 Aug 2009 05:25:16 -0000	1.1.2.1.2.3
+++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc	30 Aug 2009 05:07:58 -0000
@@ -41,7 +41,9 @@ function theme_views_slideshow_singlefra
   // If we have the jQ module installed, use that to add the Cycle plugin if possible.
   // That allows for version control.
   if (module_exists('jq')) {
-    $js = jq_add('cycle');
+    if (in_array('cycle', jq_plugins())) {
+      $js = jq_add('cycle');
+    }
   }
 
   // Otherwise, we'll add the version included with this module.
Index: contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow_thumbnailhover.theme.inc,v
retrieving revision 1.1.2.1.2.3
diff -u -p -r1.1.2.1.2.3 views_slideshow_thumbnailhover.theme.inc
--- contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc	28 Aug 2009 05:25:16 -0000	1.1.2.1.2.3
+++ contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc	30 Aug 2009 05:07:58 -0000
@@ -32,7 +32,9 @@ function template_preprocess_views_slide
   drupal_add_js(array('viewsSlideshowThumbnailHover' => array('#views_slideshow_main_'. $vars['id'] => $settings)), 'setting');
   if ($settings['pager_event'] == 'hoverIntent') {
     if (module_exists('jq')) {
-     jq_add('hoverIntent');
+      if (in_array('hoverIntent', jq_plugins())) {
+        jq_add('hoverIntent');
+      }
     }
     if (module_exists('hoverintent')) {
       hoverintent_add();
@@ -49,7 +51,9 @@ function theme_views_slideshow_thumbnail
   // If we have the jQ module installed, use that to add the Cycle plugin if possible.
   // That allows for version control.
   if (module_exists('jq')) {
-    $js = jq_add('cycle');
+    if (in_array('cycle', jq_plugins())) {
+      $js = jq_add('cycle');
+    }
   }
 
   // Otherwise, we'll add the version included with this module.
