From 1933f583d7341c4f11dc4df9f49f99adf1303e5f Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Wed, 12 Nov 2014 20:39:46 +0000 Subject: [PATCH] Fixed . It was missing a dependency, and being populated too late. Also changed an ID to a class to avoid possible conflict. --- resources/report/html/loot-message-dialog.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/report/html/loot-message-dialog.html b/resources/report/html/loot-message-dialog.html index 01e52b22..5e7c32e6 100644 --- a/resources/report/html/loot-message-dialog.html +++ b/resources/report/html/loot-message-dialog.html @@ -13,6 +13,7 @@ was pressed. --> + @@ -50,15 +51,15 @@ was pressed. showModal: function(title, text, closeCallback) { this.heading = title; - this.querySelector('#message').textContent = text; + this.querySelector('.message').textContent = text; this.closeCallback = closeCallback; this.super(); }, - ready: function() { + created: function() { var p = document.createElement('p'); - p.id = 'message'; + p.className = 'message'; this.appendChild(p); var accept = document.createElement('paper-button');