diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 856bf31..7dbcce6 100755 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -26,7 +26,7 @@ //= require jquery-fileupload // require jquery.remotipart //= require jquery.datetimepicker -//= require blueimp-gallery-all + function insertAttachment(url,name) { var ext = url.split('.').pop().toLowerCase(); diff --git a/app/views/galleries/show.html.erb b/app/views/galleries/show.html.erb index 9c4bf77..8e9f042 100644 --- a/app/views/galleries/show.html.erb +++ b/app/views/galleries/show.html.erb @@ -84,6 +84,7 @@ <% end %> + <%= javascript_include_tag "blueimp-gallery-all" %> <%= render 'layouts/pretty_toolbar' %>