summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-08-20 10:31:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-08-20 10:31:46 +0000
commit1fad99ebe3880952c2fbade9b6ae44d57f8f4857 (patch)
treeee1b30023d12b937b5feb812a4d702d7458910c6
parent3539cfcf0f6e9f4379c5a15ae610608b370ee23c (diff)
downloadredmine-1fad99ebe3880952c2fbade9b6ae44d57f8f4857.tar.gz
redmine-1fad99ebe3880952c2fbade9b6ae44d57f8f4857.zip
Wrong CSS classes in subtasks tree (#23391).
Patch by Vasil Kovalevsky. git-svn-id: http://svn.redmine.org/redmine/trunk@15739 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/issues_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 42470d14b..a9286a2d2 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -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') +