Skip to content

Commit

Permalink
Resolved issue with instantiating a jQuery function that was not decl…
Browse files Browse the repository at this point in the history
…ared yet
  • Loading branch information
baphled committed Jul 3, 2010
1 parent e6a8610 commit 776c3b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app/views/layouts/application.html.erb
Expand Up @@ -17,11 +17,13 @@
<%= javascript_include_tag "jquery" %>
<%= javascript_include_tag "jquery-ui" %>
<%= javascript_include_tag "jquery-icon-animation" %>
<%= javascript_include_tag "application" %>
<!-- JS Head start -->
<%= yield :js_head %>
<!-- JS Head end -->
<%= javascript_include_tag "jquery-validate" %>
<%= javascript_include_tag "jquery.tipsy" %>
<%= javascript_include_tag "tooltips.js" %>
<%= javascript_include_tag "application" %>
<%= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %>

<body class="salad">
Expand All @@ -30,7 +32,7 @@
<%= render :partial => 'layouts/flash', :locals => {:flash => flash} %>
<%= render :partial => 'layouts/content' %>
<%= render :partial => 'layouts/sidebar' %>
<div id="footer_layout">
<div id="footer_layout"></div>
</div>
<%= render :partial => 'layouts/footer' %>
</body>
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/no_sidebar.html.erb
Expand Up @@ -16,7 +16,6 @@

<%= javascript_include_tag "jquery" %>
<%= javascript_include_tag "jquery-ui" %>
<%= javascript_include_tag "application" %>
<%= javascript_include_tag "jquery-icon-animation" %>
<%= javascript_include_tag "inflection" %>
<%= javascript_include_tag "jquery.custom.validation" %>
Expand All @@ -32,6 +31,7 @@
<%= javascript_include_tag "tooltips" %>
<%= javascript_include_tag "pagination" %>
<%= javascript_include_tag "sortable_list" %>
<%= javascript_include_tag "application" %>
<%= yield :js_head %>
<%= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %>
Expand All @@ -41,7 +41,7 @@
<%= render :partial => 'layouts/header' %>
<%= render :partial => 'layouts/flash', :locals => {:flash => flash} %>
<%= render :partial => 'layouts/content', :locals => {:content => 'wide'} %>
<div id="footer_layout">
<div id="footer_layout"></div>
</div>
<%= render :partial => 'layouts/footer' %>
</body>
Expand Down

0 comments on commit 776c3b2

Please sign in to comment.