Module: check_mk
Branch: master
Commit: 8d7d94629a9fff6f02164c921c439f5bdc7653d9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8d7d94629a9fff…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 4 14:47:47 2017 +0100
Transform valuespec: Allow enclosing VS specific render_input() parameters
Change-Id: I800bde62499b19429b1187bb4cb0aac7588ab8b5
---
web/htdocs/valuespec.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index 3cd2295..047d1c5 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -3798,9 +3798,9 @@ class Transform(ValueSpec):
else:
return self._valuespec.help()
- def render_input(self, varprefix, value):
+ def render_input(self, varprefix, value, **kwargs):
self.classtype_info()
- self._valuespec.render_input(varprefix, self.forth(value))
+ self._valuespec.render_input(varprefix, self.forth(value), **kwargs)
def set_focus(self, *args):
self._valuespec.set_focus(*args)