|
|
@ -95,7 +95,7 @@ const initSubmitForm = () => { |
|
|
|
|
|
|
|
sendRequest($form.attr('action'), data) |
|
|
|
.then((response) => { |
|
|
|
toastr.success(response.message); |
|
|
|
// toastr.success(response.message);
|
|
|
|
$submitBtn.prop('disabled', false); |
|
|
|
$spinner.addClass('d-none'); |
|
|
|
if ( response.generated ) { |
|
|
@ -143,6 +143,16 @@ const initSocket = () => { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (eventName === 'parse.end') { |
|
|
|
toastr.success(data.message, '', { |
|
|
|
closeButton: true, |
|
|
|
hideDuration: 0, |
|
|
|
timeOut: 0, |
|
|
|
extendedTimeOut: 0, |
|
|
|
}); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
toastr.info(data.message); |
|
|
|
}); |
|
|
|
} |
|
|
|