gitlabhq/app/views/refs/tree.js.haml

11 lines
434 B
Plaintext
Raw Normal View History

2011-11-16 06:38:53 +01:00
:plain
// Load Files list
2012-03-05 23:29:40 +01:00
$("#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]}");
2012-07-10 21:52:38 +02:00
// Load last commit log for each file in tree
2012-07-10 21:52:38 +02:00
$('#tree-slider').waitForImages(function() {
ajaxGet('#{@logs_path}');
2012-07-10 21:52:38 +02:00
});