Permalink
Browse files

Exceptions: fix group encoding bug

  • Loading branch information...
1 parent 49e9c2b commit 9943cb00db118f58d3939bb4465c4d898dba75e3 @NickCraver NickCraver committed Jan 9, 2017
Showing with 2 additions and 2 deletions.
  1. +1 −1 Opserver/Content/js/Scripts.js
  2. +1 −1 Opserver/Views/Exceptions/Exceptions.cshtml
@@ -967,7 +967,7 @@ Status.Exceptions = (function () {
});
if (Status.Exceptions.options.search) return;
function setTitle(name, count) {
- $('.js-exception-title').text(count.toLocaleString() + ' ' + name + ' Exception' + (count !== 1 ? 's' : ''));
+ $('.js-exception-title').html(count.toLocaleString() + ' ' + name + ' Exception' + (count !== 1 ? 's' : ''));
}
if (log) {
@@ -14,7 +14,7 @@
}
@section head {
<script>
- $(function() { Status.Exceptions.init({ refresh: 120, group: '@group', log: '@log', sort: '@Model.Sort', loadMore: @(Model.LoadAsyncSize), enablePreviews: @(Current.Settings.Exceptions.EnablePreviews ? "true" : "false") }); });
+ $(function() { Status.Exceptions.init({ refresh: 120, group: '@group.AsHtml()', log: '@log', sort: '@Model.Sort', loadMore: @(Model.LoadAsyncSize), enablePreviews: @(Current.Settings.Exceptions.EnablePreviews ? "true" : "false") }); });
</script>
}
<div class="js-refresh" data-name="exceptions-header">

0 comments on commit 9943cb0

Please sign in to comment.