Skip to content

Commit

Permalink
Revert "fix bug re confirmation submission checkbox not blocking prog…
Browse files Browse the repository at this point in the history
…ression"

This reverts commit 2ac01c6.
  • Loading branch information
jaredgalanis committed Dec 7, 2022
1 parent bf258cc commit 1e9ac51
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/components/workflow-review/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,6 @@ export default class WorkflowReview extends Component {
input: 'checkbox',
inputPlaceholder: "I agree to the above statement on today's date ",
confirmButtonText: 'Next →',
onOpen: function () {
const checkbox = document.getElementById('swal2-checkbox');
swal.disableConfirmButton();
checkbox.addEventListener('click', function (e) {
if (e.target.checked) {
swal.enableConfirmButton();
} else {
swal.disableConfirmButton();
}
});
},
progressSteps: reposWithAgreementText.map((repo, index) => index + 1),
})
.queue(reposWithAgreementText);
Expand Down

0 comments on commit 1e9ac51

Please sign in to comment.