mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 18:02:31 +02:00
fix for delete of last row in array table
This commit is contained in:
parent
da75073357
commit
9364c3b342
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ function deleteTableRow(delete_glyphicon) {
|
|||
row.html("<input type='hidden' class='form-control' name='"
|
||||
+ row.attr('name') + "' data-changed='true' value=''>");
|
||||
} else {
|
||||
if (table.find('.' + Settings.DATA_ROW_CLASS).length) {
|
||||
if (table.find('.' + Settings.DATA_ROW_CLASS).length > 1) {
|
||||
updateDataChangedForSiblingRows(row)
|
||||
|
||||
// this isn't the last row - we can just remove it
|
||||
|
|
Loading…
Reference in a new issue