Module: check_mk
Branch: master
Commit: f355bbbf6e30c5e7781325beca17779909819c4f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f355bbbf6e30c5…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 24 13:58:21 2012 +0100
Fixed identation problem in foldertree snapin
---
web/plugins/sidebar/wato.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/sidebar/wato.py b/web/plugins/sidebar/wato.py
index 39885ae..0d4decb 100644
--- a/web/plugins/sidebar/wato.py
+++ b/web/plugins/sidebar/wato.py
@@ -208,8 +208,8 @@ def render_tree_folder(f):
html.end_foldable_container()
else:
html.write("<li>" + title + "</li>")
- if f['.path'] == '' and f or is_leaf:
- html.write("</ul>")
+
+ html.write("</ul>")
sidebar_snapins['wato_foldertree'] = {
'title' : _('Foldertree'),