mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 20:15:15 +02:00
fix for checkbox name setting
This commit is contained in:
parent
79cb0ba074
commit
f03d2988c1
1 changed files with 1 additions and 1 deletions
|
@ -1398,7 +1398,7 @@ function addTableRow(row) {
|
||||||
var num_columns = row.children('.' + Settings.DATA_COL_CLASS).length
|
var num_columns = row.children('.' + Settings.DATA_COL_CLASS).length
|
||||||
|
|
||||||
if (isCheckbox) {
|
if (isCheckbox) {
|
||||||
$(input).find("input").attr("name", setting_name + "[" + row_index + "]" + (num_columns > 1 ? "." + key : ""))
|
input.attr("name", setting_name + "[" + row_index + "]" + (num_columns > 1 ? "." + key : ""))
|
||||||
} else {
|
} else {
|
||||||
input.attr("name", setting_name + "[" + row_index + "]" + (num_columns > 1 ? "." + key : ""))
|
input.attr("name", setting_name + "[" + row_index + "]" + (num_columns > 1 ? "." + key : ""))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue