Skip to content

Commit

Permalink
[UnblockHealth]Fix Register submit button Double Click
Browse files Browse the repository at this point in the history
  • Loading branch information
bensonpaul committed Nov 1, 2023
1 parent 335cd64 commit 7e0e9bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/js/main-new.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ $('#contact-submit-live').click(function (e) {
} else {
var patientdetailsvalue = '';
}
$('#contact-submit-live').prop('disabled', 'disabled');
$('#contact-submit-live').addClass('is-disabled');
$('.loader-form').show();
var concatenatedValues = first_name + "|" + email + "|" + patientdetailsvalue;

Expand All @@ -86,7 +88,7 @@ $('#contact-submit-live').click(function (e) {
"registration_type": patientdetailsvalue,
"registration_datetime": todayDate
}
};
};
var settings = {
"url": "https://api.novu.infra.medigy.com/v1/events/trigger",
"method": "POST",
Expand Down

0 comments on commit 7e0e9bd

Please sign in to comment.