no need to clear button text.

This commit is contained in:
Stefan Midjich 2016-12-13 15:38:17 +01:00
parent 5ece708067
commit d895b36263

View file

@ -155,7 +155,7 @@ $('#approveForm').submit(function (event) {
// just replacing it.
if ($('#approveCheckbox').is(':checked')) {
$('#approveButton').prop('disabled', true);
$('#approveButton').val('');
//$('#approveButton').val('');
$('#approveButton').addClass('button-loading');
//$('#approveButtonDiv').replaceWith('<img src="/static/images/radio.svg" alt="Loading, please wait..." />');