Module: check_mk
Branch: master
Commit: 15d5074643033497110537cd2755fc441a238e67
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=15d50746430334…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Nov 25 10:25:49 2014 +0100
Added todo note
---
web/htdocs/valuespec.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index e090a59..513687c 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -867,6 +867,7 @@ class ListOf(ValueSpec):
# Actual table of currently existing entries
html.write('<table class="valuespec_listof"
id="%s_table">' % varprefix)
+ # FIXME: Use plug/unplug mechanism instead of transform / then remove transform
for nr, v in enumerate(value):
html.push_transformation(lambda x: x.replace(self._magic, str(nr+1)))
html.write('<tr><td class=vlof_buttons>')