diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/repositories/_dir_list_content.html.erb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/app/views/repositories/_dir_list_content.html.erb b/app/views/repositories/_dir_list_content.html.erb index 94f1b36bf..4a1779e28 100644 --- a/app/views/repositories/_dir_list_content.html.erb +++ b/app/views/repositories/_dir_list_content.html.erb @@ -7,12 +7,21 @@ <td style="padding-left: <%=18 * depth%>px;" class="<%= @repository.report_last_commit ? "filename" : "filename_no_report" %>";> <% if entry.is_dir? %> -<span class="expander" onclick="<%= remote_function :url => {:action => 'show', :id => @project, :path => to_path_param(ent_path), :rev => @rev, :depth => (depth + 1), :parent_id => tr_id}, +<span class="expander" onclick="<%= remote_function( + :url => { + :action => 'show', + :id => @project, + :path => to_path_param(ent_path), + :rev => @rev, + :depth => (depth + 1), + :parent_id => tr_id + }, :method => :get, :update => { :success => tr_id }, :position => :after, :success => "scmEntryLoaded('#{tr_id}')", - :condition => "scmEntryClick('#{tr_id}')"%>"> </span> + :condition => "scmEntryClick('#{tr_id}')" + ) %>"> </span> <% end %> <%= link_to h(ent_name), {:action => (entry.is_dir? ? 'show' : 'changes'), :id => @project, :path => to_path_param(ent_path), :rev => @rev}, |