Mercurial > hg > soundsoftware-site
view .svn/pristine/23/234b04ce45c5af02990560943c7a01a17b8c1584.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 11 Sep 2014 10:24:38 +0100 |
parents | 038ba2d95de8 |
children |
line wrap: on
line source
<%= javascript_tag do %> function revisionGraphHandler(){ drawRevisionGraph( document.getElementById('holder'), <%= commits.to_json.html_safe %>, <%= space %> ); } $(document).ready(revisionGraphHandler); $(window).resize(revisionGraphHandler); <% end %> <div id="holder" class="revision-graph"></div> <% content_for :header_tags do %> <%= javascript_include_tag 'raphael' %> <%= javascript_include_tag 'revision_graph' %> <% end %>