Skip to content

Commit

Permalink
new plan year cucumber fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanEddyIC committed Jan 15, 2025
1 parent e69cc64 commit 46701ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
br
.row
.pull-right[style="margin-right:20px"]
i.fas.fa-times.fa-2x.admin-fa-times#closeBAForm[onclick="closeRow(this)"]
i.fas.fa-times.fa-2x.admin-fa-times#closeBAForm
.row
.col-md-4
label[for="effectiveStartDate" style="font-weight:bold"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ function initNewBAForm() {
}
}

$(document).on('click', '#closeBAForm', function() {
closeRow(this)
})

function closeRow(element) {
element.closest('tr').remove();
}
Expand Down

0 comments on commit 46701ff

Please sign in to comment.