Cambio grafica messaggi di conferma salvataggio con toastr

This commit is contained in:
loviuz 2023-12-01 17:14:54 +01:00
parent 72c4f0d0f8
commit d0a6957f5a
1 changed files with 6 additions and 4 deletions

View File

@ -631,9 +631,11 @@ if (Auth::check()) {
if (!empty($messages['info'])) {
foreach ($messages['info'] as $value) {
echo '
<div class="alert alert-success push">
<i class="fa fa-check"></i> '.$value.'
</div>';
<script>
$(document).ready( function(){
window.parent.toastr.success("'.$value.'", toastr.options);
});
</script>';
}
}