From 93457ae1a92380e37b00cd275a5fea295b742180 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Wed, 10 Nov 2021 14:20:11 +0100 Subject: [PATCH] fixed button text while adding user --- src/main/webapp/html/manageforms/manage-forms.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/html/manageforms/manage-forms.jsp b/src/main/webapp/html/manageforms/manage-forms.jsp index 0f5726b..aae7a0e 100644 --- a/src/main/webapp/html/manageforms/manage-forms.jsp +++ b/src/main/webapp/html/manageforms/manage-forms.jsp @@ -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'); } }); }