Module: check_mk
Branch: master
Commit: 3e7f3867b36a55a99e2764951abe91a0ceabfa44
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3e7f3867b36a55…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jun 24 08:05:45 2016 +0200
Fix missing hiliting for complaining invalid input in some cases
This fix applies do edit_dictionary()
---
web/htdocs/forms.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/forms.py b/web/htdocs/forms.py
index 3a1e26b..fe133da 100644
--- a/web/htdocs/forms.py
+++ b/web/htdocs/forms.py
@@ -82,7 +82,7 @@ def edit_dictionaries(dictionaries, value, focus=None, hover_help=True,
vp = keyname + "_" + varprefix
try:
v = vs.from_html_vars(vp + name)
- vs.validate_value(v, keyname + "_" + varprefix + name)
+ vs.validate_value(v, vp + name)
new_value[keyname][name] = v
except MKUserError, e:
messages.append("%s: %s" % (vs.title(), e))