Moved the javascript includes in html head.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10370 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
745c5d053e
commit
818f3564fa
|
@ -1,5 +1,3 @@
|
|||
<%= javascript_include_tag 'raphael.js' %>
|
||||
<%= javascript_include_tag 'revision_graph.js' %>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
function revisionGraphHandler(){
|
||||
drawRevisionGraph(
|
||||
|
@ -12,3 +10,8 @@ $(document).ready(revisionGraphHandler);
|
|||
$(window).resize(revisionGraphHandler);
|
||||
</script>
|
||||
<div id="holder" class="revision-graph"></div>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= javascript_include_tag 'raphael' %>
|
||||
<%= javascript_include_tag 'revision_graph' %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue