Skip to content
Browse files

jquery version

  • Loading branch information...
1 parent 7f82c3c commit 7bc24a03ad6dc161526f8dadb5a1d910ba52b470 @fivethreeo committed Sep 14, 2011
View
3 cmsplugin_filer_gallery/cms_plugins.py
@@ -23,7 +23,8 @@ def render(self, context, instance, placeholder):
'startClockOnMouseOutAfter': instance.start_after, # how long after MouseOut should the timer start again
'directionalNav': instance.directional_nav, # manual advancing directional navs
'captions': instance.captions, # do you want captions?
- 'captionAnimation': instance.get_caption_animation_display(), # fade, slideOpen, none
+ 'captionAnimation': instance.aption_animation and \
+ instance.get_caption_animation_display() or 'none' # fade, slideOpen, none
'captionAnimationSpeed': instance.caption_speed, # if so how quickly should they animate in
'bullets': instance.bullets # True or False to activate the bullet navigation
})
View
2 cmsplugin_filer_gallery/templates/cmsplugin_filer_gallery/gallery.html
@@ -1,5 +1,5 @@
{% load thumbnail adminmedia sekizai_tags %}
-{% addtoblock "js" %}<script type="text/javascript" src="{% admin_media_prefix %}js/jquery.min.js"></script>{% endaddtoblock %}
+{% addtoblock "js" %}<script type="text/javascript" src="{{ STATIC_URL }}filer_gallery/orbit/jquery-1.5.1.min.js"></script>{% endaddtoblock %}
{% addtoblock "js" %}<script type="text/javascript" src="{{ STATIC_URL }}filer_gallery/orbit/jquery.orbit-1.2.3.min.js"></script>{% endaddtoblock %}
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}filer_gallery/orbit/orbit-1.2.3.css" media="all" />{% endaddtoblock %}
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}cmsplugin_filer_gallery/cmsplugin_filer_gallery.css" media="all" />{% endaddtoblock %}

0 comments on commit 7bc24a0

Please sign in to comment.
Something went wrong with that request. Please try again.