Add err priority to danger class

master
andryyy 2017-06-17 20:57:23 +02:00
parent e11eca939d
commit 44c4074773
1 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ jQuery(function($){
success: function (data) {
$.each(data, function (i, item) {
item.message = escapeHtml(item.message);
var danger_class = ["emerg", "alert", "crit"];
var danger_class = ["emerg", "alert", "crit", "err"];
var warning_class = ["warning"];
var info_class = ["notice", "info", "debug"];
if (jQuery.inArray(item.priority, danger_class) !== -1) {
@ -111,7 +111,7 @@ jQuery(function($){
},
success: function (data) {
$.each(data, function (i, item) {
var danger_class = ["emerg", "alert", "crit"];
var danger_class = ["emerg", "alert", "crit", "err"];
var warning_class = ["warning"];
var info_class = ["notice", "info", "debug"];
item.message = escapeHtml(item.message);
@ -159,7 +159,7 @@ jQuery(function($){
},
success: function (data) {
$.each(data, function (i, item) {
var danger_class = ["emerg", "alert", "crit"];
var danger_class = ["emerg", "alert", "crit", "err"];
var warning_class = ["warning"];
var info_class = ["notice", "info", "debug"];
item.message = escapeHtml(item.message);