From 978d92308288e674184741046c0a5ee62e8d3c03 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Thu, 15 Jan 2015 16:38:16 +0100 Subject: [PATCH] fix blueimp gallery --- app/assets/javascripts/application.js | 2 +- app/views/galleries/show.html.erb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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' %>