Module: check_mk
Branch: master
Commit: 41dc2c68ab90c3b5e898e1a9106a2f3a2da7dc3d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=41dc2c68ab90c3…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 9 08:57:47 2013 +0100
FIX Fixed highlight of choosen elements in foldertee/views snapin in Chrome/IE
---
.werks/302 | 8 ++++++++
ChangeLog | 3 +++
web/htdocs/js/sidebar.js | 4 ++--
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/302 b/.werks/302
new file mode 100644
index 0000000..b7fcda8
--- /dev/null
+++ b/.werks/302
@@ -0,0 +1,8 @@
+Title: Fixed highlight of choosen elements in foldertee/views snapin in Chrome/IE
+Level: 1
+Component: multisite
+Version: 1.2.3i8
+Date: 1386575831
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index fb37ec6..6bef763 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
* 0299 FIX: borcade_mlx_fan: Prettified output, handling "other" state now
* 0300 FIX: cisco_fru_power: Trying not to inventorize not plugged in FRUs...
+ Multisite:
+ * 0302 FIX: Fixed highlight of choosen elements in foldertee/views snapin in
Chrome/IE
+
Reporting & Availability:
* 0018 New option for displaying a legend for the colors used in the timeline...
diff --git a/web/htdocs/js/sidebar.js b/web/htdocs/js/sidebar.js
index 270bb2a..67940f6 100644
--- a/web/htdocs/js/sidebar.js
+++ b/web/htdocs/js/sidebar.js
@@ -827,10 +827,10 @@ function highlight_link(link_obj, container_id) {
var links = document.getElementsByClassName('link', this_snapin);
for (var i = 0; i < links.length; i++) {
- links[i].style = 'font-weight:normal;';
+ links[i].style.fontWeight = 'normal';
}
- link_obj.style = 'font-weight:bold;';
+ link_obj.style.fontWeight = 'bold';
}
}