fixed button text while adding user
This commit is contained in:
parent
b0023d2ad1
commit
93457ae1a9
|
@ -29,7 +29,7 @@ function getSelectedRadioFormId() {
|
|||
function acceptForm(endpoint, applicationItemId) {
|
||||
console.log("acceptForm:" + endpoint);
|
||||
$("#acceptButton").prop("disabled",true);
|
||||
$("#acceptButton").attr('value', 'Please wait ...');
|
||||
$("#acceptButton").text('Please wait ...');
|
||||
$.ajax({
|
||||
url : endpoint,
|
||||
type : 'POST',
|
||||
|
@ -46,7 +46,7 @@ function acceptForm(endpoint, applicationItemId) {
|
|||
$("#modalSuccess").show();
|
||||
}
|
||||
$("#acceptButton").prop("disabled",false);
|
||||
$("#acceptButton").attr('value', 'Accept');
|
||||
$("#acceptButton").text('Accept');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue