Move tree-related views from refs to trees

This commit is contained in:
Robert Speicher 2012-09-17 10:57:13 -04:00
parent 567767bcf2
commit 6ddb35bd5e
8 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,10 @@
:plain
// Load Files list
$("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {repo: @repo, commit: @commit, tree: @tree}))}");
$("#tree-content-holder").show("slide", { direction: "right" }, 150);
$('.project-refs-form #path').val("#{params[:path]}");
// Load last commit log for each file in tree
$('#tree-slider').waitForImages(function() {
ajaxGet('#{@logs_path}');
});