Module: check_mk
Branch: master
Commit: 373162baf4be30802b8fc7ebca3938bf2e762b81
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=373162baf4be30…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jan 16 12:56:19 2012 +0100
FIX: fix problem on IE with background color "white"
---
ChangeLog | 1 +
web/htdocs/js/checkmk.js | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7b9b9a2..f4fe79f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -195,6 +195,7 @@
1.1.12p7:
Multisite:
* FIX: detail view of host was missing column headers
+ * FIX: fix problem on IE with background color 'white'
Checks & Agents:
* FIX: fixed man pages of h3c_lanswitch_sensors and statgrab_cpu
diff --git a/web/htdocs/js/checkmk.js b/web/htdocs/js/checkmk.js
index e908f9e..d33e94c 100644
--- a/web/htdocs/js/checkmk.js
+++ b/web/htdocs/js/checkmk.js
@@ -1017,6 +1017,9 @@ function highlight_row(elem, on) {
function highlight_elem(elem, on) {
// Find all elements below "elem" with a defined background-color and
change it
var bg_color = real_style(elem, 'background-color',
'backgroundColor');
+ if (bg_color == 'white')
+ bg_color = "#ffffff";
+
if(on) {
elem['hover_orig_bg'] = bg_color;
elem.style.backgroundColor = lightenColor(elem['hover_orig_bg'], -20);