Issue #1281198 by yukare: Newest release breaks views overlays
authorFernando Correa da Conceição
Mon, 19 Sep 2011 03:58:05 +0000 (00:58 -0300)
committerFernando Correa da Conceição
Mon, 19 Sep 2011 03:58:05 +0000 (00:58 -0300)
lightbox2.module

index 2167ed0..33ad6eb 100644 (file)
@@ -782,8 +782,8 @@ function lightbox2_add_files() {
     if ($enable_login || $enable_contact) {
       drupal_add_js($path .'/js/lightbox_modal.js', array( 'scope' => $js_location ) );
     }
-    drupal_add_js($path .'/js/prototype.js', array( 'scope' => $js_location, 'cache' => false ) );
-         drupal_add_js($path .'/js/scriptaculous.js', array( 'scope' => $js_location, 'cache' => false ) );
+    //drupal_add_js($path .'/js/prototype.js', array( 'scope' => $js_location, 'cache' => false ) );
+         //drupal_add_js($path .'/js/scriptaculous.js', array( 'scope' => $js_location, 'cache' => false ) );
          drupal_add_js($path .'/js/lightbox.js', array( 'scope' => $js_location ,'cache' => false) );
 
   }