Fix assets bug: when having a '.' in the name, the extension must be specified
This commit is contained in:
parent
dc07964bc3
commit
3ec8bb7be6
|
@ -10,8 +10,7 @@ uploads/**/*
|
||||||
|
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
public/javascripts
|
public/assets
|
||||||
public/stylesheets
|
|
||||||
config/application.rb
|
config/application.rb
|
||||||
|
|
||||||
.rvmrc
|
.rvmrc
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% content_for :page_specific_javascript do %>
|
<% content_for :page_specific_javascript do %>
|
||||||
<%= javascript_include_tag "lib/datepicker" %>
|
<%= javascript_include_tag "lib/datepicker" %>
|
||||||
<%= javascript_include_tag "lib/date.format" %>
|
<%= javascript_include_tag "lib/date.format.js" %>
|
||||||
<%= javascript_include_tag "inc/modal-preview" %>
|
<%= javascript_include_tag "inc/modal-preview" %>
|
||||||
<%= javascript_include_tag "/static/jquery.cycle.all.latest.js" %>
|
<%= javascript_include_tag "/static/jquery.cycle.all.latest.js" %>
|
||||||
<%= javascript_include_tag "inc/jquery.imagesloaded" %>
|
<%= javascript_include_tag "inc/jquery.imagesloaded.js" %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
|
@ -293,7 +293,7 @@
|
||||||
|
|
||||||
<% content_for :page_specific_javascript do %>
|
<% content_for :page_specific_javascript do %>
|
||||||
<%= javascript_include_tag "bulletin_form" %>
|
<%= javascript_include_tag "bulletin_form" %>
|
||||||
<%= javascript_include_tag "inc/jquery.imagesloaded" %>
|
<%= javascript_include_tag "inc/jquery.imagesloaded.js" %>
|
||||||
<script>
|
<script>
|
||||||
$('#add_bulletin_link a.add').live('click', function(){
|
$('#add_bulletin_link a.add').live('click', function(){
|
||||||
var new_id = $(this).prev().attr('value');
|
var new_id = $(this).prev().attr('value');
|
||||||
|
|
Reference in New Issue