Browse Source

Merge pull request #42 from bcgov/DIV-944

DIV-944: Updated child add cancel button to remove empty row on the c…
pull/160/head
Charles Shin 6 years ago
committed by GitHub
parent
commit
a89fba1733
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      edivorce/apps/core/static/js/main.js

+ 5
- 0
edivorce/apps/core/static/js/main.js View File

@ -469,6 +469,11 @@ $(function () {
$('#btn_revert_child').on('click', function(e) {
e.preventDefault();
returnToParent({persist: false});
// Delete Empty row added to the children table.
// Empty row will always be the last row of the table.
var $element = $('#claimant_children').find('tbody:first').find('tr:last');
deleteAddedTableRow($element);
});
$('#claimant_children').each(function(){


Loading…
Cancel
Save