2011-11-16 06:38:53 +01:00
|
|
|
:plain
|
2012-07-10 22:12:38 +02:00
|
|
|
// Load Files list
|
2012-10-04 00:40:56 +02:00
|
|
|
$("#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
|
|
|
|
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
|
|
|
});
|