Module: check_mk
Branch: master
Commit: edb9cae58836935ef909eae230db53377dbdedbe
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=edb9cae5883693…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Sep 20 09:58:01 2013 +0200
Changed problematic loop for ie8 compatibility
---
web/htdocs/js/sidebar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/js/sidebar.js b/web/htdocs/js/sidebar.js
index 9eeea29..cbbecee 100644
--- a/web/htdocs/js/sidebar.js
+++ b/web/htdocs/js/sidebar.js
@@ -663,7 +663,7 @@ function sidebar_scheduler() {
var newcontent = "";
var to_be_updated = [];
- for (var i in refresh_snapins) {
+ for (var i = 0; i < refresh_snapins.length; i++) {
var name = refresh_snapins[i][0];
if (refresh_snapins[i][1] != '') {
// Special handling for snapins like the nagvis maps snapin which request