Permalink
Browse files

patches - render JavaScripts in <head> section

  • Loading branch information...
1 parent 740c7e8 commit ba22cb9a774983b08d4c1d5fcfae205fae04625e @lslezak lslezak committed Aug 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 plugins/software/app/views/patches/index.html.erb
@@ -24,6 +24,7 @@
<%= render :partial => "shared/notification", :locals => { :module_name => 'patches' } %>
+<% content_for :head do %>
<script type="text/javascript">
$(document).ready(function() {
$(":button").click(function() {
@@ -154,6 +155,7 @@
<% end %>
</script>
+<% end %>
<% if @patch_updates %>

0 comments on commit ba22cb9

Please sign in to comment.