show.js.haml 397 Bytes
Newer Older
gitlabhq's avatar
gitlabhq committed
1
:plain
2
  // Load Files list
3
  $("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {commit: @commit, tree: @tree}))}");
4
  $("#tree-content-holder").show("slide", { direction: "right" }, 150);
Robert Speicher's avatar
Robert Speicher committed
5
  $('.project-refs-form #path').val("#{@path}");
6

7
  //  Load last commit log for each file in tree
8
  $('#tree-slider').waitForImages(function() {
9
    ajaxGet('#{@logs_path}');
10
  });