Set allowOutsideClick for sweet alert

This commit is contained in:
Hillel Coren 2016-09-12 12:51:24 +03:00
parent d6774fed60
commit c1d41d6f85

View File

@ -97,7 +97,8 @@
cancelButtonText: "{!! trans("texts.no") !!}",
confirmButtonText: "{!! trans("texts.yes") !!}",
showCancelButton: true,
closeOnConfirm: false
closeOnConfirm: false,
allowOutsideClick: true,
}, function() {
success();
swal.close();