Module: check_mk
Branch: master
Commit: b15011a31735bcd834be0a0f5c10c02d717587a6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b15011a31735bc…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 15 16:33:55 2019 +0100
Fixed recently introduced issue with get_checkbox()
Change-Id: I6b5a58a783dcde416c27d2905e008f2a70de41c5
---
cmk/gui/htmllib.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cmk/gui/htmllib.py b/cmk/gui/htmllib.py
index f6f2cf7..989c613 100644
--- a/cmk/gui/htmllib.py
+++ b/cmk/gui/htmllib.py
@@ -1922,6 +1922,8 @@ class html(HTMLGenerator):
# the form a second time while showing value typed in at the first
# time and complaining about invalid user input)
def form_submitted(self, form_name=None):
+ if form_name is None:
+ return self.request.has_var("filled_in")
return self.request.var("filled_in") == form_name
# Get value of checkbox. Return True, False or None. None means