Commit ea1a1e2d authored by jplang's avatar jplang

Wrong CSS classes in subtasks tree (#23391).

Patch by Vasil Kovalevsky.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent e98660ba
......@@ -92,7 +92,7 @@ module IssuesHelper
def render_descendants_tree(issue)
s = '<form><table class="list issues">'
issue_list(issue.descendants.visible.preload(:status, :priority, :tracker, :assigned_to).sort_by(&:lft)) do |child, level|
css = "issue issue-#{} hascontextmenu #{issue.css_classes}"
css = "issue issue-#{} hascontextmenu #{child.css_classes}"
css << " idnt idnt-#{level}" if level > 0
s << content_tag('tr',
content_tag('td', check_box_tag("ids[]",, false, :id => nil), :class => 'checkbox') +
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment