Started work on AJAX with a different approach, this is WIP but edit contact currently uses it. with this approach your dont have to touch the js or modal template just the ajax

This commit is contained in:
johnnyq
2025-02-15 00:50:52 -05:00
parent 117861034a
commit 74a1603943
9 changed files with 557 additions and 290 deletions

View File

@@ -39,7 +39,9 @@ if (str_contains(basename($_SERVER["PHP_SELF"]), "admin_")) { ?>
<!-- AdminLTE App -->
<script src="plugins/adminlte/js/adminlte.min.js"></script>
<script src="js/app.js"></script>
<script src="js/generic_modal_loader.js"></script>
<script src="js/confirm_modal.js"></script>
</body>
</html>

View File

@@ -0,0 +1,7 @@
<?php
require_once "../config.php";
require_once "../functions.php";
require_once "../check_login.php";
header('Content-Type: application/json');