play with tree view

This commit is contained in:
Dmitriy Zaporozhets 2011-12-20 08:59:14 +02:00
parent 6bdcaccb46
commit 3d4f524dcb
4 changed files with 18 additions and 5 deletions

View file

@ -1,5 +1,5 @@
:plain
$("#tree-content-holder").hide("slide", { direction: "left" }, 150, function(){
//$("#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);
});
//});