diff options
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 5bf0a1e98..3238de8cf 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -749,11 +749,7 @@ module Redmine :class => "#{options[:css]} task_todo", :id => html_id} if options[:issue] - rels_hash = {} - issue_relations(options[:issue]).each do |k, v| - rels_hash[k] = v.join(',') - end - content_opt[:data] = {"rels" => rels_hash} + content_opt[:data] = {"rels" => issue_relations(options[:issue]).to_json} end output << view.content_tag(:div, ' '.html_safe, content_opt) if coords[:bar_late_end] |