Module: check_mk
Branch: master
Commit: d6cd7acc7928d0f0b9e235949a802d89c85c1184
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d6cd7acc7928d0…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Dec 15 22:31:16 2014 +0100
#1780 FIX Fix broken icon in host diagnostic mode
---
.werks/1779 | 9 +++++++++
.werks/1780 | 9 +++++++++
ChangeLog | 2 ++
web/htdocs/js/wato.js | 4 ++--
4 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/.werks/1779 b/.werks/1779
new file mode 100644
index 0000000..604a5ea
--- /dev/null
+++ b/.werks/1779
@@ -0,0 +1,9 @@
+Title: Fix broken icon in host diagnostic mode
+Level: 1
+Component: wato
+Compatible: compat
+Version: 1.2.6b2
+Date: 1418679041
+Class: fix
+
+
diff --git a/.werks/1780 b/.werks/1780
new file mode 100644
index 0000000..8e5911f
--- /dev/null
+++ b/.werks/1780
@@ -0,0 +1,9 @@
+Title: Fix broken icon in host diagnostic mode
+Level: 1
+Component: wato
+Compatible: compat
+Version: 1.2.6b2
+Date: 1418679067
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index b34e312..3da2bb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,8 @@
WATO:
* 1760 Added search form to manual checks page
* 1761 FIX: Ruleset search is now consistent for host & serviceparameters and
manual checks
+ * 1779 FIX: Fix broken icon in host diagnostic mode
+ * 1780 FIX: Fix broken icon in host diagnostic mode
Notifications:
* 1662 notification plugin spectrum: finalized script. now able to handle host
notications
diff --git a/web/htdocs/js/wato.js b/web/htdocs/js/wato.js
index 2b8bae4..23000dc 100644
--- a/web/htdocs/js/wato.js
+++ b/web/htdocs/js/wato.js
@@ -810,11 +810,11 @@ function handle_host_diag_result(ident, response_text) {
var retry = document.getElementById(ident + '_retry');
if (response_text[0] == "0") {
- img.src = "images/icon_success.gif";
+ img.src = "images/icon_success.png";
log.className = "log diag_success";
}
else {
- img.src = "images/icon_failed.gif";
+ img.src = "images/icon_failed.png";
log.className = "log diag_failed";
}