Feature: ajax load for tree commit log

This commit is contained in:
randx 2012-07-10 22:52:38 +03:00
parent b8425cf173
commit 1a2bacfb4b
9 changed files with 206 additions and 20 deletions

View file

@ -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"});
});