Module: check_mk
Branch: master
Commit: 870e2a5fe00b71e9cc343c03f8880ec12e047b18
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=870e2a5fe00b71…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Dec 22 06:57:31 2016 +0100
Fix vertical layout of Alternative() ValueSpec
Change-Id: I31101cb15f7a316c83ebc5328d8840674219b10f
---
web/htdocs/valuespec.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index f260c4e..e3c3223 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -3018,7 +3018,7 @@ class Alternative(ValueSpec):
html.write("<table><tr><td>")
html.select(varprefix + "_use", options, sel_option, onchange)
if self._orientation == "vertical":
- html.write(" ")
+ html.write("<br><br>")
for nr, vs in enumerate(self._elements):
if str(nr) == sel_option: