Module: check_mk
Branch: master
Commit: ba7922e7bddac154f7c77e2e5e60de048e91fc99
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ba7922e7bddac1…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jun 22 12:11:51 2012 +0200
FIX: python/json output was garbled due to new row count
---
web/htdocs/views.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 0b1a2a7..442ed31 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -1363,7 +1363,8 @@ def render_view(view, rows, datasource, group_painters, painters,
if show_checkboxes and html.var("selected_rows"):
selected = get_selected_rows(view, rows,
html.var("selected_rows"))
headinfo = "%d/%s" % (len(selected), headinfo)
- html.javascript("update_headinfo('%s');" % headinfo)
+ if 'T' in display_options:
+ html.javascript("update_headinfo('%s');" % headinfo)
# Play alarm sounds, if critical events have been displayed
if 'S' in display_options and view.get("play_sounds"):