Fix GitWeb link for parent commits

The href was used as link name, and the link name was used as href.

Bug: issue 2672
Change-Id: I6770d60fd7f804f39a1a906e00e7e32f0367f209
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2014-05-21 07:24:47 +02:00
committed by Edwin Kempin
parent 3557ac647b
commit f88b1cea20

View File

@@ -136,7 +136,7 @@ class CommitBox extends Composite {
GitwebLink gw = Gerrit.getGitwebLink();
if (gw != null) {
Anchor a =
new Anchor(gw.toRevision(project, c.commit()), gw.getLinkName());
new Anchor(gw.getLinkName(), gw.toRevision(project, c.commit()));
a.setStyleName(style.parentWebLink());
parentWebLinks.add(a);
}