aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/layouts/default.html.erb4
-rw-r--r--app/views/public_body/statistics.html.erb2
-rw-r--r--config/application.rb1
3 files changed, 4 insertions, 3 deletions
diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb
index 6c3070d97..e90e89a00 100644
--- a/app/views/layouts/default.html.erb
+++ b/app/views/layouts/default.html.erb
@@ -20,7 +20,7 @@
<%= javascript_include_tag "application" %>
<% if @profile_photo_javascript %>
<%= javascript_include_tag "profile-photos" %>
- <%= stylesheet_link_tag "jquery.Jcrop" %>
+ <%= stylesheet_link_tag "jquery.Jcrop.css" %>
<% end %>
<% if @feed_autodetect %>
@@ -43,7 +43,7 @@
</head>
<body class="<%= 'front' if params[:action] == 'frontpage' %>">
<% if AlaveteliConfiguration::force_registration_on_new_request && !@user %>
- <%= javascript_include_tag 'jquery.fancybox-1.3.4.pack' %>
+ <%= javascript_include_tag 'jquery.fancybox-1.3.4.pack.js' %>
<script type="text/javascript">
$(document).ready(function() {
$("#make-request-link").fancybox({
diff --git a/app/views/public_body/statistics.html.erb b/app/views/public_body/statistics.html.erb
index 223511065..d935a9e47 100644
--- a/app/views/public_body/statistics.html.erb
+++ b/app/views/public_body/statistics.html.erb
@@ -69,7 +69,7 @@ are due to him.") %></p>
<script type="text/javascript">
var graphs_data = <%= @graph_list.to_json.html_safe %>;
</script>
-<!--[if lte IE 8]><%= javascript_include_tag "excanvas.min" %><![endif]-->
+<!--[if lte IE 8]><%= javascript_include_tag "excanvas.min.js" %><![endif]-->
<%= javascript_include_tag "stats" %>
</div>
diff --git a/config/application.rb b/config/application.rb
index dd920c3c0..426db2318 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -90,6 +90,7 @@ module Alaveteli
# grouped:
config.assets.precompile += ['jquery.fancybox-1.3.4.pack.js',
'jquery-ui-1.8.15.custom.css',
+ 'jquery.Jcrop.css',
'excanvas.min.js',
'fonts.css',
'main.css',