Commit 9304219b authored by Leigh Stoller's avatar Leigh Stoller

Simplify the error reason popover.

parent 7ccb3a56
......@@ -64,12 +64,6 @@ $(function ()
trigger: 'hover',
placement: 'auto',
html: true,
content: function () {
var uuid = $(this).data("uuid");
var html = "<code style='white-space: pre-wrap'>" +
errors[uuid].message + "</code>";
return html;
}
});
$('#next-page').click(function (event) {
event.preventDefault();
......
......@@ -37,13 +37,17 @@
<% } else { %>
<td>N/A</td>
<% } %>
<% if (value.message && value.message != "") { %>
<% if (value.message && value.message != "") {
var message = "<code style='white-space: pre-wrap'>" +
value.message + "</code>";
%>
<td><span style="text-decoration: underline;"
data-toggle='popover'
data-delay='{"hide":100, "show":500}'
data-html='true'
data-uuid="<%- value.uuid %>"
data-content=""><%- value.reason %></span></td>
data-content="<%- message %>">
<%- value.reason %></span></td>
<% } else { %>
<td><%- value.reason %></td>
<% } %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment