aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-10-22 18:16:24 -0200
committerSilvio <silvio@devlet.com.br>2010-10-22 18:16:24 -0200
commitf4e139e0e1673352ff4fc397f64b575df9a65a56 (patch)
tree6bed2cfe7ded7a4276642a7f212907fa04dfe74e /js
parent98861aed94de26f4c55f8b450a8ff3a657e4feb6 (diff)
downloadjquery_gallery_view-f4e139e0e1673352ff4fc397f64b575df9a65a56.tar.gz
jquery_gallery_view-f4e139e0e1673352ff4fc397f64b575df9a65a56.tar.bz2
Adding jquery_gallery_view_load()
Diffstat (limited to 'js')
-rw-r--r--js/jquery_gallery_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/jquery_gallery_view.js b/js/jquery_gallery_view.js
index 8ac3219..032c8e0 100644
--- a/js/jquery_gallery_view.js
+++ b/js/jquery_gallery_view.js
@@ -5,7 +5,7 @@ Drupal.behaviors.jqueryGalleryViewBehavior = function (context) {
$('.views-field-title').attr('class', 'views-field-site-title');
// Add photos
- if (Drupal.settings.jqueryGalleryView.photos != null) {
+ if (Drupal.settings.jqueryGalleryView != null && Drupal.settings.jqueryGalleryView.photos != null) {
var photos = Drupal.settings.jqueryGalleryView.photos;
// Image sizes