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

11 lines
380 B
Plaintext
Raw Normal View History

2011-11-16 06:38:53 +01:00
:plain
// Load Files list
$("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {tree: @tree}))}");
2013-03-30 12:23:58 +01:00
$("#tree-content-holder").show("slide", { direction: "right" }, 400);
2012-09-17 19:07:17 +02:00
$('.project-refs-form #path').val("#{@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
});