Module: check_mk
Branch: master
Commit: ab130f3120275e35e74c64127947a9d3a35a7334
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ab130f3120275e…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Oct 4 15:53:21 2018 +0200
Fixed two 'id' kwargs
Change-Id: I39dfb29c046afbb4830b0f698920dee2334c5102
---
cmk/gui/valuespec.py | 2 +-
cmk/gui/wato/__init__.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/gui/valuespec.py b/cmk/gui/valuespec.py
index 40b758d..d933cae 100644
--- a/cmk/gui/valuespec.py
+++ b/cmk/gui/valuespec.py
@@ -1250,7 +1250,7 @@ class ListOf(ValueSpec):
html.hidden_field('%s_count' % varprefix,
str(count),
- id = '%s_count' % varprefix,
+ id_ = '%s_count' % varprefix,
add_var = True)
self._show_entries(varprefix, value)
diff --git a/cmk/gui/wato/__init__.py b/cmk/gui/wato/__init__.py
index a38e8cb..697b095 100644
--- a/cmk/gui/wato/__init__.py
+++ b/cmk/gui/wato/__init__.py
@@ -5634,7 +5634,7 @@ class ModeActivateChanges(WatoMode, watolib.ActivateChanges):
valuespec = self._vs_activation()
html.begin_form("activate", method="POST",
action="")
- html.hidden_field("activate_until", self._get_last_change_id(),
id="activate_until")
+ html.hidden_field("activate_until", self._get_last_change_id(),
id_="activate_until")
forms.header(valuespec.title())
valuespec.render_input("activate", self._value)