gitlab-org--gitlab-foss/app/views/blob/show.js.haml
2013-04-03 09:26:38 +03:00

10 lines
380 B
Text

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