Spostati gli avvisi Toast in posizione top-center

This commit is contained in:
Pek5892 2023-11-28 16:06:26 +01:00
parent 7522a67263
commit 6f7563345e
2 changed files with 1 additions and 6 deletions

View File

@ -39,7 +39,7 @@ $(document).ready(function () {
"debug": false, "debug": false,
"newestOnTop": false, "newestOnTop": false,
"progressBar": true, "progressBar": true,
"positionClass": "toast-top-right", "positionClass": "toast-top-center",
//"preventDuplicates": true, //"preventDuplicates": true,
"onclick": null, "onclick": null,
"showDuration": "300", "showDuration": "300",

View File

@ -383,11 +383,6 @@ function renderMessages() {
let info = messages.info ? messages.info : []; let info = messages.info ? messages.info : [];
info.forEach(function (element) { info.forEach(function (element) {
if (element) toastr["success"](element); if (element) toastr["success"](element);
Toast.fire({
icon: "success",
title: element,
position: 'top',
});
}); });
let warning = messages.warning ? messages.warning : []; let warning = messages.warning ? messages.warning : [];