Add tooltip with subject message in related changes tab

The titles in the related changes tab often get truncated. Add tooltip
to show the full subject.

Change-Id: I1fa0cd0c322f1a9233d6b56a5d3107a5784f60d5
This commit is contained in:
David Ostrovsky
2015-11-11 15:25:46 -08:00
committed by David Pursehouse
parent 58f76e406e
commit 00515b6d1c

View File

@@ -292,6 +292,7 @@ class RelatedChangesTab implements IsWidget {
if (url.startsWith("#")) { if (url.startsWith("#")) {
sb.setAttribute("onclick", OPEN); sb.setAttribute("onclick", OPEN);
} }
sb.setAttribute("title", info.commit().subject());
if (showProjects) { if (showProjects) {
sb.append(info.project()).append(": "); sb.append(info.project()).append(": ");
} }