2011-11-16 06:38:53 +01:00
|
|
|
:plain
|
2012-07-10 22:12:38 +02:00
|
|
|
// Load Files list
|
2012-08-11 00:07:50 +02:00
|
|
|
$("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {repo: @repo, commit: @commit, tree: @tree}))}");
|
2012-03-05 23:29:40 +01:00
|
|
|
$("#tree-content-holder").show("slide", { direction: "right" }, 150);
|
|
|
|
$('.project-refs-form #path').val("#{params[:path]}");
|
2012-07-10 21:52:38 +02:00
|
|
|
|
2012-07-10 22:12:38 +02:00
|
|
|
// Load last commit log for each file in tree
|
2012-07-10 21:52:38 +02:00
|
|
|
$('#tree-slider').waitForImages(function() {
|
2012-09-03 21:30:14 +02:00
|
|
|
ajaxGet('#{@logs_path}');
|
2012-07-10 21:52:38 +02:00
|
|
|
});
|