Module: check_mk
Branch: master
Commit: 5d37c065ca61fecd7d3f52e8a439085c027d8379
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5d37c065ca61fe…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 17 11:29:55 2017 +0100
4377 FIX Services of host: Fixed styling of WARN states
Change-Id: Ib7cc5719b3a94079194d19217273e25477e3f8b0
---
.werks/4377 | 10 ++++++++++
web/htdocs/js/wato.js | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/4377 b/.werks/4377
new file mode 100644
index 0000000..e219f2b
--- /dev/null
+++ b/.werks/4377
@@ -0,0 +1,10 @@
+Title: Services of host: Fixed styling of WARN states
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.5.0i1
+Date: 1487327371
+
+
diff --git a/web/htdocs/js/wato.js b/web/htdocs/js/wato.js
index 0ef347a..3415c0d 100644
--- a/web/htdocs/js/wato.js
+++ b/web/htdocs/js/wato.js
@@ -1084,7 +1084,7 @@ function handle_execute_active_check(oDiv, response_json)
add_class(oTr, "odd" + state);
var oTdState = oTr.getElementsByClassName("state")[0];
- console.log(oTdState);
+ remove_class(oTdState, "statep");
add_class(oTdState, "state" + state);
oTdState.innerHTML = statename;