Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1287)

Unified Diff: dashboard/dashboard/elements/alerts-table.html

Issue 2167993002: [polymer] Fix bug where sometimes old ellipsiz(ation?) would hang around (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/elements/alerts-table.html
diff --git a/dashboard/dashboard/elements/alerts-table.html b/dashboard/dashboard/elements/alerts-table.html
index 7dcd99b7742c13ccb297b6b1d9713c92aac39d25..41d8a22f6181beab96e8132b1099dc89fcb086c1 100644
--- a/dashboard/dashboard/elements/alerts-table.html
+++ b/dashboard/dashboard/elements/alerts-table.html
@@ -568,10 +568,13 @@ found in the LICENSE file.
*/
addEllipsis: function() {
for (var i = 0; i < this.alertList.length; i++) {
+ this.setAlertList(i, 'additionalColumnValues', {});
+ }
+
+ for (var i = 0; i < this.alertList.length; i++) {
var alert = this.alertList[i];
if (alert.rowType == 'group-header' && alert.size > 1) {
var headerRowIndex = i;
- this.setAlertList(i, 'additionalColumnValues', {});
for (var j = i + 1; j < this.alertList.length; j++) {
var memberAlert = this.alertList[j];
if (memberAlert.rowType == 'group-member') {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698