mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-27 16:23:19 +01:00
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
Block a user