summaryrefslogtreecommitdiff
path: root/app/views/tree/show.js.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tree/show.js.haml')
-rw-r--r--app/views/tree/show.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tree/show.js.haml b/app/views/tree/show.js.haml
index 92e90579304..3d0215ff51f 100644
--- a/app/views/tree/show.js.haml
+++ b/app/views/tree/show.js.haml
@@ -2,7 +2,7 @@
// Load Files list
$("#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]}");
+ $('.project-refs-form #path').val("#{@path}");
// Load last commit log for each file in tree
$('#tree-slider').waitForImages(function() {