diff --git a/domain-server/resources/web/settings/js/settings.js b/domain-server/resources/web/settings/js/settings.js index 0e34f1af24..29bb430893 100644 --- a/domain-server/resources/web/settings/js/settings.js +++ b/domain-server/resources/web/settings/js/settings.js @@ -973,27 +973,13 @@ function makeTable(setting, keypath, setting_value, isLocked) { } if (isArray && col.type === "checkbox" && col.editable) { - html += "" - html += ""; } else { - - // setup the td for this column - html += ""; - - // add the actual value to the td so it is displayed - html += colValue; - - // for values to be posted properly we add a hidden input to this td - html += ""; - - html += ""; + // Use a hidden input so that the values are posted. + html += "" + + colValue + ""; } }) @@ -1039,12 +1025,8 @@ function makeTableInputs(setting) { _.each(setting.columns, function(col) { if (col.type === "checkbox") { html += "" - html += ""; } else { html += "\