Skip to content

Commit

Permalink
HYP-301 - Hides 'Already Completed' button on signed agreement forms …
Browse files Browse the repository at this point in the history
…when a user starts filling out form
  • Loading branch information
b32147 committed Nov 30, 2023
1 parent 3ed2ddd commit d85370c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/templates/projects/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ <h4 class="modal-title" id="signed-agreement-form-completed-modal-title">Tasks</
<script type="application/javascript">
$( document ).ready(function() {

$('#sign-agreement-form').on('input', function() {

// Hide the 'Already Completed' button
$('#agreement-form-completed').hide();
});

//triggered when modal is about to be shown
$('#signed-agreement-form-completed-modal').on('show.bs.modal', function(e) {

Expand Down

0 comments on commit d85370c

Please sign in to comment.