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

Unified Diff: dashboard/dashboard/elements/report-page.html

Issue 1771023002: Fix missing message-bar Element on /report and /alerts page. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: address comments Created 4 years, 9 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 | « dashboard/dashboard/elements/alerts-page.html ('k') | dashboard/dashboard/static/alerts.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/elements/report-page.html
diff --git a/dashboard/dashboard/elements/report-page.html b/dashboard/dashboard/elements/report-page.html
index a78921d6a97462996d8b0d6f0a56c111934ac9bc..73de00e9a6d03056d5d05fe2ae834d4a6200ad6a 100644
--- a/dashboard/dashboard/elements/report-page.html
+++ b/dashboard/dashboard/elements/report-page.html
@@ -23,8 +23,6 @@ found in the LICENSE file.
top: 0px;
}
</style>
-
- <overlay-message id="message-bar"></overlay-message>
<template if="{{warningMessage}}">
<overlay-message id="warning-message"
opened="true"
@@ -240,7 +238,7 @@ found in the LICENSE file.
*/
onPageStateRequest: function(event) {
var status = event.detail.status;
- var messageBar = this.$['message-bar'];
+ var messageBar = document.getElementById('message-bar');
var messageConfig = {
'autoCloseDisabled': true,
'duration': 0,
« no previous file with comments | « dashboard/dashboard/elements/alerts-page.html ('k') | dashboard/dashboard/static/alerts.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698