[checkmk-commits] Check_MK Git: check_mk: Fixed problem when sidebar_notify_interval is not configured

Lars Michelsen lm at mathias-kettner.de
Wed Sep 4 14:43:18 CEST 2013


Module: check_mk
Branch: master
Commit: 4342b74e48c757663a3ae7098a3e6681b85ce218
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4342b74e48c757663a3ae7098a3e6681b85ce218

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Wed Sep  4 14:43:14 2013 +0200

Fixed problem when sidebar_notify_interval is not configured

---

 web/htdocs/sidebar.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/htdocs/sidebar.py b/web/htdocs/sidebar.py
index b348445..8c1f4fe 100644
--- a/web/htdocs/sidebar.py
+++ b/web/htdocs/sidebar.py
@@ -176,7 +176,7 @@ def page_side():
     if not config.may("general.see_sidebar"):
         return
     html.html_head(_("Check_MK Sidebar"), javascripts=["sidebar"], stylesheets=["sidebar", "status"])
-    html.write('<body class="side" onload="initScrollPos(); setSidebarHeight(); init_messages(%d);" '
+    html.write('<body class="side" onload="initScrollPos(); setSidebarHeight(); init_messages(%s);" '
                'onunload="storeScrollPos()">\n' % config.sidebar_notify_interval or 'null')
     html.write('<div id="check_mk_sidebar">\n')
 



More information about the checkmk-commits mailing list