Fixed that _revision_graph.html.erb breaks window load events (#9775).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8209 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-12-14 19:29:35 +00:00
parent befb5081f4
commit f1fec5eee0
1 changed files with 2 additions and 2 deletions

View File

@ -5,9 +5,9 @@
<%= javascript_include_tag "revision_graph.js" %>
<script type="text/javascript">
window.onload = function(){
Event.observe(window,"load", function(){
branchGraph(document.getElementById("holder"));
}
})
</script>
<div id="holder" class="graph"></div>