Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/tree.js.haml')
-rw-r--r--app/views/projects/tree.js.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/tree.js.haml b/app/views/projects/tree.js.haml
new file mode 100644
index 00000000000..60cbd199165
--- /dev/null
+++ b/app/views/projects/tree.js.haml
@@ -0,0 +1,5 @@
+:plain
+ $("#tree-holder table").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);
+ });