summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-30 06:54:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-30 06:54:51 +0000
commitf05fdd5cfa8a5b628ed3b463b62c2f7afde01a52 (patch)
treee7393b02df42fcf5fcdade87708584fabf4471a3 /app
parenta0bb70ed2d7769da869d25090cdd3c4895c076cf (diff)
downloadredmine-f05fdd5cfa8a5b628ed3b463b62c2f7afde01a52.tar.gz
redmine-f05fdd5cfa8a5b628ed3b463b62c2f7afde01a52.zip
Merged r4780 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@4781 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/gantts/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 820366279..05c015bed 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -60,7 +60,7 @@ end
# Width of the entire chart
g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom
-@gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width)
+@gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width, :subject_width => subject_width)
g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max
t_height = g_height + headers_height