DRY up Blame, Blob and Tree controllers
This commit is contained in:
parent
576cec6c67
commit
398ba6f1bb
6 changed files with 38 additions and 73 deletions
|
@ -1,6 +1,6 @@
|
|||
:plain
|
||||
// Load Files list
|
||||
$("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {repo: @repo, commit: @commit, tree: @tree}))}");
|
||||
$("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {commit: @commit, tree: @tree}))}");
|
||||
$("#tree-content-holder").show("slide", { direction: "right" }, 150);
|
||||
$('.project-refs-form #path').val("#{@path}");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue