Feature: ajax load for tree commit log
This commit is contained in:
parent
b8425cf173
commit
1a2bacfb4b
9 changed files with 206 additions and 20 deletions
|
@ -2,3 +2,8 @@
|
|||
$("#tree-holder").html("#{escape_javascript(render(:partial => "tree", :locals => {:repo => @repo, :commit => @commit, :tree => @tree}))}");
|
||||
$("#tree-content-holder").show("slide", { direction: "right" }, 150);
|
||||
$('.project-refs-form #path').val("#{params[:path]}");
|
||||
|
||||
|
||||
$('#tree-slider').waitForImages(function() {
|
||||
$.ajax({type: "GET", url: '#{@logs_path}', dataType: "script"});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue