Skip to content
Permalink
Browse files

Fixed problem when sidebar_notify_interval is not configured

  • Loading branch information
LarsMichelsen committed Sep 4, 2013
1 parent ecad278 commit 4342b74e48c757663a3ae7098a3e6681b85ce218
Showing with 1 addition and 1 deletion.
  1. +1 −1 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')

0 comments on commit 4342b74

Please sign in to comment.
You can’t perform that action at this time.