Module: check_mk
Branch: master
Commit: 11d32d5bba662418c95196990ce116abf2e12c14
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=11d32d5bba6624…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 9 12:00:30 2017 +0100
Fixed another issue in the ListOf() valuespec after recent refactoring
Change-Id: Icc4a3231c2bfc5eddeb71739fcceed4f1f90bcb8
---
web/htdocs/valuespec.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index b22f70f..ba5cf36 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -1244,7 +1244,8 @@ class ListOf(ValueSpec):
html.open_tr()
html.open_td(class_="vlof_buttons")
- html.hidden_field(varprefix + "_indexof_" + self._magic, "",
add_var=True) # reconstruct order after moving stuff
+ html.hidden_field(varprefix + "_indexof_" + self._magic, "",
+ add_var=True, class_="index") # reconstruct order
after moving stuff
self.del_button(varprefix, self._magic)
if self._movable:
self.move_button(varprefix, self._magic, "up")