Module: check_mk
Branch: master
Commit: afbef279bcff199c7f291e3dd2dd867301716913
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=afbef279bcff19…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Nov 8 16:29:41 2012 +0100
Fixed position of dashboard variable declaration
---
web/htdocs/dashboard.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index 2f389d8..38cb324 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -124,10 +124,10 @@ def render_dashboard(name):
# data.
title = board["title"]
+ global header_height
if title is None:
# If the title is none, hide the header line
html.set_render_headfoot(False)
- global header_height
header_height = 0
title = ''