Module: check_mk
Branch: master
Commit: 55e398b6d86010cca9faa3ab88ee9c0a2909670e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=55e398b6d86010…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 22 14:36:53 2016 +0100
Fixed invalid HTML code in case html.render_icon_button was called with target=None
---
web/htdocs/htmllib.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index d0e605a..15ed9b0 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -437,6 +437,8 @@ class html(GUITester):
if target:
target = 'target="%s" ' % target
+ else:
+ target = ""
if cssclass:
cssclass = 'class="%s" ' % cssclass