Use javascript_tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10371 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
818f3564fa
commit
a3d0e82552
|
@ -1,4 +1,4 @@
|
|||
<script type="text/javascript" charset="utf-8">
|
||||
<%= javascript_tag do %>
|
||||
function revisionGraphHandler(){
|
||||
drawRevisionGraph(
|
||||
document.getElementById('holder'),
|
||||
|
@ -8,7 +8,8 @@ function revisionGraphHandler(){
|
|||
}
|
||||
$(document).ready(revisionGraphHandler);
|
||||
$(window).resize(revisionGraphHandler);
|
||||
</script>
|
||||
<% end %>
|
||||
|
||||
<div id="holder" class="revision-graph"></div>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
|
|
Loading…
Reference in New Issue