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) {
// Send a GET request to ajax.php as ajax.php?get_readable_pass=true
jQuery.get(
"ajax.php", {
"../ajax.php", {
get_readable_pass: 'true'
},
function(data) {

View File

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