Module: check_mk
Branch: master
Commit: c984c4bb211c5366746f81bb0139a0af068d5c3e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c984c4bb211c53…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu May 24 11:08:08 2012 +0200
FIX: animation of rotation treeangle in trees works again
---
ChangeLog | 1 +
web/htdocs/js/checkmk.js | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7405610..5522853 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
* Finalized layout if view options and commands/filters/painteroptions.
* FIX: remove nasty JS error in sidebar
* FIX: fix folding in custom links (directories would not open)
+ * FIX: animation of rotation treeangle in trees works again
Mobile:
* FIX: Fixed logtime filter settings in all mobile views
diff --git a/web/htdocs/js/checkmk.js b/web/htdocs/js/checkmk.js
index 7f7f2ea..47fc4e4 100644
--- a/web/htdocs/js/checkmk.js
+++ b/web/htdocs/js/checkmk.js
@@ -860,7 +860,7 @@ function toggle_foldable_container(treename, id) {
var oImg = document.getElementById('treeimg.' + treename + '.' +
id);
var oBox = document.getElementById('tree.' + treename + '.' +
id);
toggle_tree_state(treename, id, oBox);
- toggle_folding(oImg, oBox.style.display != "none");
+ toggle_folding(oImg, !has_class(oBox, "closed"));
oImg = null;
oBox = null;
}