Module: check_mk
Branch: master
Commit: 886eee4951dfffbe985aa602178edf8c14371b18
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=886eee4951dfff…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Thu Jan 26 16:48:20 2017 +0100
Bugfix: Fixed small bug in htmlling::text_input.
Change-Id: I6ba6b537b8a3f57d65695527f00a26222cabfaf7
---
web/htdocs/htmllib.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index a5df3f2..4ce946d 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -1914,6 +1914,8 @@ class html(DeprecationWrapper):
for key, val in attrs.iteritems():
if key not in attributes and key not in ["name", "type",
"type_"]:
attributes[key] = val
+ elif key in attributes and attributes[key] is None:
+ attributes[key] = val
if error:
self.open_x(class_="inputerror")