aboutsummaryrefslogtreecommitdiffhomepage
path: root/views/logs.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'views/logs.tpl')
-rw-r--r--views/logs.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/logs.tpl b/views/logs.tpl
index efa08e7be..ada48b4ce 100644
--- a/views/logs.tpl
+++ b/views/logs.tpl
@@ -108,7 +108,12 @@ red bug icon \\
$('.log').click(function(){
$("#message").html($(this).data("message"));
- $("#exception").html($(this).data("exception"));
+ exception = $(this).data("exception");
+ exception = exception.replace(/'/g,"");
+ exception = exception.replace(/\\n\s\s\s\s/g, "\\n  ");
+ exception = exception.replace(/\\n\s\s/g, "\\n ");
+ exception = exception.replace(/\\n/g, "<br />")
+ $("#exception").html(exception);
$('#modal').modal('show');
})
</script> \ No newline at end of file