Spostati gli avvisi Toast in posizione top-center
This commit is contained in:
parent
7522a67263
commit
6f7563345e
|
@ -39,7 +39,7 @@ $(document).ready(function () {
|
|||
"debug": false,
|
||||
"newestOnTop": false,
|
||||
"progressBar": true,
|
||||
"positionClass": "toast-top-right",
|
||||
"positionClass": "toast-top-center",
|
||||
//"preventDuplicates": true,
|
||||
"onclick": null,
|
||||
"showDuration": "300",
|
||||
|
|
|
@ -383,11 +383,6 @@ function renderMessages() {
|
|||
let info = messages.info ? messages.info : [];
|
||||
info.forEach(function (element) {
|
||||
if (element) toastr["success"](element);
|
||||
Toast.fire({
|
||||
icon: "success",
|
||||
title: element,
|
||||
position: 'top',
|
||||
});
|
||||
});
|
||||
|
||||
let warning = messages.warning ? messages.warning : [];
|
||||
|
|
Loading…
Reference in New Issue