summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-01-17 10:29:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-01-17 10:29:17 +0000
commit90602ac6dc55044c0b16c30bb0c6796506e2604c (patch)
treef11a1e4a6c14ea9db511491e7eeab490036c6a7b
parent8bab5b4730b10ffd998b9b5db2b04380ed210cd6 (diff)
downloadredmine-90602ac6dc55044c0b16c30bb0c6796506e2604c.tar.gz
redmine-90602ac6dc55044c0b16c30bb0c6796506e2604c.zip
Merged r3309 from trunk.0.8-stable
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@3319 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/repositories/_dir_list_content.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/_dir_list_content.rhtml b/app/views/repositories/_dir_list_content.rhtml
index 12ee44dbf..a6ebe4e2d 100644
--- a/app/views/repositories/_dir_list_content.rhtml
+++ b/app/views/repositories/_dir_list_content.rhtml
@@ -1,7 +1,7 @@
<% @entries.each do |entry| %>
<% tr_id = Digest::MD5.hexdigest(entry.path)
depth = params[:depth].to_i %>
-<tr id="<%= tr_id %>" class="<%= params[:parent_id] %> entry <%= entry.kind %>">
+<tr id="<%= tr_id %>" class="<%= h params[:parent_id] %> entry <%= entry.kind %>">
<td style="padding-left: <%=18 * depth%>px;" class="filename">
<% if entry.is_dir? %>
<span class="expander" onclick="<%= remote_function :url => {:action => 'browse', :id => @project, :path => to_path_param(entry.path), :rev => @rev, :depth => (depth + 1), :parent_id => tr_id},