Project

General

Profile

Defect #23391 ยป fix-23391.diff

patch - Go MAEDA, 2016-07-21 04:35

View differences:

app/helpers/issues_helper.rb (working copy)
92 92
  def render_descendants_tree(issue)
93 93
    s = '<form><table class="list issues">'
94 94
    issue_list(issue.descendants.visible.preload(:status, :priority, :tracker, :assigned_to).sort_by(&:lft)) do |child, level|
95
      css = "issue issue-#{child.id} hascontextmenu #{issue.css_classes}"
95
      css = "issue issue-#{child.id} hascontextmenu #{child.css_classes}"
96 96
      css << " idnt idnt-#{level}" if level > 0
97 97
      s << content_tag('tr',
98 98
             content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
    (1-1/1)