fixed image preview

This commit is contained in:
gitlabhq 2011-12-01 09:16:53 -05:00
parent 42ba6d04f8
commit 6a2c7d80cb
3 changed files with 5 additions and 2 deletions

View file

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