Seems like I have to readd some Javascript functions into the ajax footer to get certain function to work on the generic ajax modal

This commit is contained in:
johnnyq
2025-02-15 15:01:24 -05:00
parent 9458c1cc7a
commit 615604661c
2 changed files with 3 additions and 6 deletions

View File

@@ -330,7 +330,7 @@ ob_start();
function generatePassword(type, id) { function generatePassword(type, id) {
// Send a GET request to ajax.php as ajax.php?get_readable_pass=true // Send a GET request to ajax.php as ajax.php?get_readable_pass=true
jQuery.get( jQuery.get(
"ajax.php", { "../ajax.php", {
get_readable_pass: 'true' get_readable_pass: 'true'
}, },
function(data) { function(data) {

View File

@@ -1,8 +1,5 @@
<script>// Initialize Select2 Elements <script src="js/app.js"></script>
$('.select2').select2({ <script src="plugins/Show-Hide-Passwords-Bootstrap-4/bootstrap-show-password.min.js"></script>
theme: 'bootstrap4',
});
</script>
<?php <?php
$content = ob_get_clean(); $content = ob_get_clean();