gitlabhq/app/views/refs/tree.js.haml
2012-03-06 00:29:40 +02:00

4 lines
279 B
Text

:plain
$("#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]}");