Closed marioene closed 6 years ago
Solved with setTimeout
swal({ title: "Succes!", text: "Stergere efectuata cu succes!", type: "success", timer: 3000, showConfirmButton: false, }, function() { location.reload(true); }); setTimeout(function() {location.reload(true); }, 3000);
Hi,
After timer is expired reload is not working.
swal({ title: "Succes!", text: "Stergere efectuata cu succes!", type: "success", timer: 3000, showConfirmButton: false, }, function() { location.reload(true); });
With
showConfirmButton: true,
is working.Is there a solution?