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

Unified Diff: status/templates/commits.html

Issue 1171823005: Add autoroll package, alerts for failed rolls, recent rolls on Status (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: tweaks Created 5 years, 6 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
« status/go/status/main.go ('K') | « status/res/imp/autoroll-widget-sk.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: status/templates/commits.html
diff --git a/status/templates/commits.html b/status/templates/commits.html
index f96de2ecd146691869cb6801924cf7ffd3c566e2..ef6b994feda56f82fce9a3885c550338f699eeaa 100644
--- a/status/templates/commits.html
+++ b/status/templates/commits.html
@@ -100,7 +100,9 @@
}
})
$$$("autoroll-widget-sk").addEventListener("change", function(e) {
- $$$("commits-sk").setAutoRollStatus(e.detail.status.curr_roll_rev, e.detail.status.last_roll_rev);
+ if (e.detail.status) {
+ $$$("commits-sk").setAutoRollStatus(e.detail.status.curr_roll_rev, e.detail.status.last_roll_rev);
+ }
})
})
})();
« status/go/status/main.go ('K') | « status/res/imp/autoroll-widget-sk.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698