automatically close redeem modal after successful redeem

This commit is contained in:
AVMG20 2021-07-12 12:59:41 +02:00
parent 78d298c119
commit cfc61bebda

View file

@ -61,6 +61,9 @@
success: function (response) {
resetForm()
redeemVoucherSetSuccess(response)
setTimeout(() => {
$('#redeemVoucherModal').modal('toggle');
} , 1500)
},
error: function (jqXHR, textStatus, errorThrown) {
resetForm()