mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 16:23:17 +02:00
fix default value in new row
This commit is contained in:
parent
f013ca4a95
commit
3311df5e1f
1 changed files with 1 additions and 1 deletions
|
@ -1417,7 +1417,7 @@ function addTableRow(row) {
|
||||||
|
|
||||||
input_clone.children('td').each(function () {
|
input_clone.children('td').each(function () {
|
||||||
if ($(this).attr("name") !== keepField) {
|
if ($(this).attr("name") !== keepField) {
|
||||||
$(this).find("input").val($(this).attr('data-default'));
|
$(this).find("input").val($(this).children('input').attr('data-default'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue