Fix: No response toast anymore. Changed bootstrap-notify with Toastify.js due to CSP restrictions.

This commit is contained in:
2026-07-08 23:10:36 +02:00
parent f94bafb25d
commit fa3515625b
11 changed files with 578 additions and 31 deletions

View File

@@ -113,6 +113,7 @@ class pageBuilder
<link rel="stylesheet" href="/src/css/sentri.min.css"/> <!-- Special css tricks for Sentri -->
<link rel="stylesheet" href="/src/css/plugins.min.css"/> <!-- need this for scroll bars and other small things -->
<link rel="stylesheet" href="/src/js/plugin/sweetalert2/sweetalert2.min.css"/> <!-- need this for scroll bars and other small things -->
<link rel="stylesheet" href="/src/js/plugin/toastify-js/toastify.css"/> <!-- This is used for the toasts -->
<link rel="stylesheet" href="/src/css/fullcalendar/skeleton.css"/> <!-- Used for fullcalander.js -->
<link rel="stylesheet" href="/src/css/fullcalendar/theme/theme.css"/> <!-- Used for fullcalander.js -->
<link rel="stylesheet" href="/src/css/fullcalendar/theme/palettes/purple.css"/> <!-- Used for fullcalander.js -->
@@ -327,8 +328,8 @@ class pageBuilder
<!-- Load the locales in js -->
<script src="/src/js/i18n-loader.js"></script>
<!-- Bootstrap Notify -->
<script src="/src/js/plugin/bootstrap-notify/bootstrap-notify.min.js"></script>
<!-- Toastify js for toasts after actions are peformed -->
<script src="/src/js/plugin/toastify-js/toastify.js"></script>
<!-- Sweet Alert -->
<script src="/src/js/plugin/sweetalert2/sweetalert2.min.js"></script>
@@ -339,6 +340,8 @@ class pageBuilder
<!-- jQuery Scrollbar -->
<script src="/src/js/plugin/jquery-scrollbar/jquery.scrollbar.min.js"></script>
<script src="/src/js/sentri/response.js"></script>
<!-- Load Other Js scripts -->
<?php
if (isset($this->jsScriptLoadData)) {