Skip to content
Snippets Groups Projects
Commit 421dcd51 authored by yvesn's avatar yvesn
Browse files

SSDM-5068 : ELN config on GUI - bugfix - removing extra models from table...

SSDM-5068 : ELN config on GUI - bugfix - removing extra models from table model when row is removed. bug prevented table data to be stored correctly

SVN: 38264
parent f53608f2
No related branches found
No related tags found
No related merge requests found
...@@ -581,6 +581,9 @@ function SettingsFormView(settingsFormController, settingsFormModel) { ...@@ -581,6 +581,9 @@ function SettingsFormView(settingsFormController, settingsFormModel) {
} }
var rowIndex = tableModel.rows.indexOf(tableModelRow); var rowIndex = tableModel.rows.indexOf(tableModelRow);
tableModel.rows.splice(rowIndex, 1); tableModel.rows.splice(rowIndex, 1);
if (tableModel.rowExtraModels) {
tableModel.rowExtraModels.splice(rowIndex, 1);
}
}); });
} }
$tr.append($("<td>").append($removeButton)); $tr.append($("<td>").append($removeButton));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment