diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-11 16:59:30 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-11 16:59:30 +0000 |
commit | 818f3564fa7f23bd056ffa621c37f4b664a5569d (patch) | |
tree | fef37e287ed022f1347d520b46a87f5c3d1c5aa7 /app/views/repositories | |
parent | 745c5d053e0d2c17a86736cb8a1fe7e5ae097391 (diff) | |
download | redmine-818f3564fa7f23bd056ffa621c37f4b664a5569d.tar.gz redmine-818f3564fa7f23bd056ffa621c37f4b664a5569d.zip |
Moved the javascript includes in html head.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10370 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r-- | app/views/repositories/_revision_graph.html.erb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/repositories/_revision_graph.html.erb b/app/views/repositories/_revision_graph.html.erb index 1e900bf23..de3d9a6f7 100644 --- a/app/views/repositories/_revision_graph.html.erb +++ b/app/views/repositories/_revision_graph.html.erb @@ -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 %> |