Module: check_mk
Branch: master
Commit: 0e7e4c76d646494c55474d8f12c743e9f6af4d66
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0e7e4c76d64649…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jun 7 13:29:06 2016 +0200
Fix layout problem in sortable/searchable tables without header
---
web/htdocs/table.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/web/htdocs/table.py b/web/htdocs/table.py
index edc2cb3..27a28d9 100644
--- a/web/htdocs/table.py
+++ b/web/htdocs/table.py
@@ -282,6 +282,8 @@ def end():
if first_col:
first_col = False
if actions_enabled:
+ if not header:
+ header = " " # Fixes layout problem with
white triangle
if actions_visible:
state = '0'
help = _('Hide table actions')