Module: check_mk
Branch: master
Commit: a3582070d19d5a325f1e6acd3e16ef8416251dba
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a3582070d19d5a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Nov 25 09:42:42 2015 +0100
Addition to inline comment
---
web/htdocs/valuespec.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index 268316b..d845301 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -2518,7 +2518,7 @@ class Alternative(ValueSpec):
def __init__(self, **kwargs):
ValueSpec.__init__(self, **kwargs)
self._elements = kwargs["elements"]
- self._match = kwargs.get("match") # custom match function
+ self._match = kwargs.get("match") # custom match function, returns
index in elements
self._style = kwargs.get("style", "radio") # alternative:
"dropdown"
self._show_alternative_title = kwargs.get("show_alternative_title")