comparison public/javascripts/revision_graph.js @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
comparison
equal deleted inserted replaced
1297:0a574315af3e 1298:4f746d8966dd
41 y = commit_table_rows.eq(max_rdmid - commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET; 41 y = commit_table_rows.eq(max_rdmid - commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET;
42 x = graph_x_offset + XSTEP / 2 + XSTEP * commit.space; 42 x = graph_x_offset + XSTEP / 2 + XSTEP * commit.space;
43 revisionGraph.circle(x, y, 3) 43 revisionGraph.circle(x, y, 3)
44 .attr({ 44 .attr({
45 fill: colors[commit.space], 45 fill: colors[commit.space],
46 stroke: 'none', 46 stroke: 'none'
47 }).toFront(); 47 }).toFront();
48 // paths to parents 48 // paths to parents
49 $.each(commit.parent_scmids, function(index, parent_scmid) { 49 $.each(commit.parent_scmids, function(index, parent_scmid) {
50 parent_commit = commits_by_scmid[parent_scmid]; 50 parent_commit = commits_by_scmid[parent_scmid];
51 if (parent_commit) { 51 if (parent_commit) {