Tree ajax log. progress bar & refactoring
This commit is contained in:
parent
1a2bacfb4b
commit
f88a2617e6
8 changed files with 53 additions and 18 deletions
|
@ -1,9 +1,10 @@
|
|||
:plain
|
||||
// Load Files list
|
||||
$("#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]}");
|
||||
|
||||
|
||||
// Load last commit log for each file in tree
|
||||
$('#tree-slider').waitForImages(function() {
|
||||
$.ajax({type: "GET", url: '#{@logs_path}', dataType: "script"});
|
||||
ajaxGet('#{@logs_path}');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue