diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-20 01:07:10 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-20 01:07:10 +0000 |
commit | 335ac4f326ccc225207330c0b8d5ae3563196c88 (patch) | |
tree | 61039467d11dc461c0d11265449a0b4a64222c23 /app | |
parent | 4eed0dca1544ccbb89fd50b34d7bb4bc2ac726c5 (diff) | |
download | redmine-335ac4f326ccc225207330c0b8d5ae3563196c88.tar.gz redmine-335ac4f326ccc225207330c0b8d5ae3563196c88.zip |
code layout clean up of app/views/repositories/_dir_list_content.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7630 e93f8b46-1217-0410-a6f0-8f06a7374b81
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}, |