Add render_tree helper; simplify (speed up) tree_icon
This commit is contained in:
parent
a8fad4ff9c
commit
388d72e6bf
6 changed files with 44 additions and 41 deletions
|
@ -1,6 +1,6 @@
|
|||
:plain
|
||||
// Load Files list
|
||||
$("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {commit: @commit, tree: @tree}))}");
|
||||
$("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {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