Commit ea1a1e2d authored by jplang's avatar jplang

Wrong CSS classes in subtasks tree (#23391).

Patch by Vasil Kovalevsky.

git-svn-id: https://svn.redmine.org/redmine/trunk@15739 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-#{child.id} hascontextmenu #{issue.css_classes}"
css = "issue issue-#{child.id} hascontextmenu #{child.css_classes}"
css << " idnt idnt-#{level}" if level > 0
s << content_tag('tr',
content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment