automatically close redeem modal after successful redeem
This commit is contained in:
parent
78d298c119
commit
cfc61bebda
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@
|
|||
success: function (response) {
|
||||
resetForm()
|
||||
redeemVoucherSetSuccess(response)
|
||||
setTimeout(() => {
|
||||
$('#redeemVoucherModal').modal('toggle');
|
||||
} , 1500)
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
resetForm()
|
||||
|
|
Loading…
Reference in a new issue