diff options
author | Silvio <silvio@devlet.com.br> | 2010-10-22 17:14:58 -0200 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-10-22 17:14:58 -0200 |
commit | 2e712d04423c087d78a6216595fc4ea77274106b (patch) | |
tree | 75fa7498fc68152dba0032c09c3259c264b30de5 | |
parent | fa23188a2821dd44a4a738dde4554d91a37f0b00 (diff) | |
download | jquery_gallery_view-2e712d04423c087d78a6216595fc4ea77274106b.tar.gz jquery_gallery_view-2e712d04423c087d78a6216595fc4ea77274106b.tar.bz2 |
Minor fixes
-rw-r--r-- | jquery_gallery_view.module | 1 | ||||
-rw-r--r-- | js/jquery_gallery_view.js | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/jquery_gallery_view.module b/jquery_gallery_view.module index 329248b..fe3b815 100644 --- a/jquery_gallery_view.module +++ b/jquery_gallery_view.module @@ -63,7 +63,6 @@ function jquery_gallery_view_setup_photos($view, $field) { // Add needed javascript drupal_add_js(array('jqueryGalleryView' => array('photos' => $photos)), 'setting'); - drupal_add_js(drupal_get_path('module', 'jquery_gallery_view') .'/js/jquery-gallery_view.js'); drupal_add_js(drupal_get_path('module', 'jquery_gallery_view') .'/js/jquery-galleryview/jquery.galleryview-2.1.1-pack.js'); drupal_add_js(drupal_get_path('module', 'jquery_gallery_view') .'/js/jquery-galleryview/jquery.timers-1.2.js'); } diff --git a/js/jquery_gallery_view.js b/js/jquery_gallery_view.js index 909ee0e..8ac3219 100644 --- a/js/jquery_gallery_view.js +++ b/js/jquery_gallery_view.js @@ -14,7 +14,7 @@ Drupal.behaviors.jqueryGalleryViewBehavior = function (context) { // Image paths var base_url = window.location.protocol + '//' + window.location.hostname; - var files = Drupal.settings.jqueryGalleryView.files; + var files = Drupal.settings.jqueryGalleryView.photos; var base_location = base_url + '/' + Drupal.settings.basePath + files + '/'; var imagecache = 'imagecache/' + width + 'x' + height + '/'; var image_folder = base_location + imagecache + '/'; |