|
|
@@ -1053,32 +1053,27 @@
|
|
|
}
|
|
|
|
|
|
})
|
|
|
+ initToast();
|
|
|
+ function initToast(){
|
|
|
+ toastr.options = {
|
|
|
+ "closeButton": true,
|
|
|
+ "debug": false,
|
|
|
+ "newestOnTop": false,
|
|
|
+ "progressBar": true,
|
|
|
+ "positionClass": "toast-top-center",
|
|
|
+ "preventDuplicates": false,
|
|
|
+ "onclick": null,
|
|
|
+ "showDuration": "300",
|
|
|
+ "hideDuration": "1000",
|
|
|
+ "timeOut": "2000",
|
|
|
+ "extendedTimeOut": "1000",
|
|
|
+ "showEasing": "swing",
|
|
|
+ "hideEasing": "linear",
|
|
|
+ "showMethod": "fadeIn",
|
|
|
+ "hideMethod": "fadeOut"
|
|
|
+ }
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- // initToast();
|
|
|
- // function initToast(){
|
|
|
- // toastr.options = {
|
|
|
- // "closeButton": true,
|
|
|
- // "debug": false,
|
|
|
- // "newestOnTop": false,
|
|
|
- // "progressBar": true,
|
|
|
- // "positionClass": "toast-top-center",
|
|
|
- // "preventDuplicates": false,
|
|
|
- // "onclick": null,
|
|
|
- // "showDuration": "300",
|
|
|
- // "hideDuration": "1000",
|
|
|
- // "timeOut": "2000",
|
|
|
- // "extendedTimeOut": "1000",
|
|
|
- // "showEasing": "swing",
|
|
|
- // "hideEasing": "linear",
|
|
|
- // "showMethod": "fadeIn",
|
|
|
- // "hideMethod": "fadeOut"
|
|
|
- // }
|
|
|
- //
|
|
|
- // }
|
|
|
-
|
|
|
-
|
|
|
+ }
|
|
|
</script>
|
|
|
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
|
|
|
<script src="https://cdn.bootcss.com/toastr.js/latest/js/toastr.min.js"></script>
|