| commit | bef2a7834c617f36f4c6606b590b104814c0018a | [log] [tgz] |
|---|---|---|
| author | Edwin Kempin <ekempin@google.com> | Tue Jun 23 11:13:49 2020 +0000 |
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jun 23 11:13:49 2020 +0000 |
| tree | a2c0dc8015af512ac5ac70b083edb48f73652394 | |
| parent | f17fd11ed0ebb50f22c77c6ed35839a7790f75aa [diff] | |
| parent | cdba7c81f73cd004d734a201cdd941efe5e2592a [diff] |
Merge "Fix nits in accounts test API to set secondary emails"
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.js b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.js index a3fe990..172e444 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.js +++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.js
@@ -105,6 +105,12 @@ }); } + _handleContentClick(e) { + e.preventDefault(); + e.stopPropagation(); + GerritNav.navigateToChange(this.change); + } + _computeChangeURL(change) { return GerritNav.getUrlForChange(change); }
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_html.js b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_html.js index 4e826aa..36f84f7 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_html.js +++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_html.js
@@ -44,6 +44,7 @@ text-overflow: ellipsis; white-space: nowrap; width: 100%; + cursor: pointer; } .comments, .reviewers { @@ -122,7 +123,7 @@ hidden$="[[isColumnHidden('Subject', visibleChangeTableColumns)]]" > <div class="container"> - <div class="content"> + <div class="content" on-click="_handleContentClick"> <a title$="[[change.subject]]" href$="[[changeURL]]"> [[change.subject]] </a>