diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-02-06 02:58:34 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-02-06 02:58:34 +0000 |
commit | d2216bfe5411e2d43e57eae37bc95caceb02aaa1 (patch) | |
tree | 3f2a96d0ced270ad9b54f6575a7a891ef81414fb /public/javascripts | |
parent | 2ef86a2f0adccf5d5d5a56fb42d087a684b11847 (diff) | |
download | redmine-d2216bfe5411e2d43e57eae37bc95caceb02aaa1.tar.gz redmine-d2216bfe5411e2d43e57eae37bc95caceb02aaa1.zip |
scm: fix revision graph height is hard-coded (#9832)
Contributed by Jakob Skjerning.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8795 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/revision_graph.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/javascripts/revision_graph.js b/public/javascripts/revision_graph.js index 438eb755e..70feb974d 100644 --- a/public/javascripts/revision_graph.js +++ b/public/javascripts/revision_graph.js @@ -3,7 +3,9 @@ function revisionGraph(holder, commits_hash) { var LEFT_PADDING = 3, TOP_PADDING = 10, - XSTEP = YSTEP = 20; + XSTEP = 20; + + var YSTEP = $$('tr.changeset')[0].getHeight(); var commits_by_scmid = $H(commits_hash), commits = commits_by_scmid.values(); |