Module: check_mk
Branch: master
Commit: c5e9b01da3d70e6c43b9aba05dcf2d7787bf9c0a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c5e9b01da3d70e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Feb 26 14:30:12 2012 +0100
Fix styling bug in valuespec ListOf
---
web/htdocs/js/checkmk.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/js/checkmk.js b/web/htdocs/js/checkmk.js
index 3ad837b..20abfaf 100644
--- a/web/htdocs/js/checkmk.js
+++ b/web/htdocs/js/checkmk.js
@@ -1457,7 +1457,7 @@ function valuespec_listof_add(varprefix, magic) {
htmlcode = replace_all(htmlcode, magic, strcount);
var oTable = document.getElementById(varprefix + "_table");
if (count == 0) { // first: no <tbody> present!
- oTable.innerHTML = "<tbody><tr><td>" + htmlcode +
"</td></tr></tbody>";
+ oTable.innerHTML = "<tbody><tr>" + htmlcode +
"</tr></tbody>";
}
else {
var oTbody = oTable.childNodes[0];