Polishin & fixed tree switch

This commit is contained in:
Dmitriy Zaporozhets 2012-03-06 00:29:40 +02:00
parent cb59aade4e
commit eb7bbedb20
11 changed files with 82 additions and 50 deletions

View file

@ -1,5 +1,4 @@
:plain
//$("#tree-content-holder").hide("slide", { direction: "left" }, 150, function(){
$("#tree-holder").html("#{escape_javascript(render(:partial => "tree", :locals => {:repo => @repo, :commit => @commit, :tree => @tree}))}");
$("#tree-content-holder").show("slide", { direction: "right" }, 150);
//});
$("#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]}");