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:
parent
befb5081f4
commit
f1fec5eee0
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue