diff --git a/ajax/ajax_contact_edit.php b/ajax/ajax_contact_edit.php
index 5a95d34f..f4ca64ce 100644
--- a/ajax/ajax_contact_edit.php
+++ b/ajax/ajax_contact_edit.php
@@ -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) {
diff --git a/includes/ajax_footer.php b/includes/ajax_footer.php
index ec7400cc..0f5b44ba 100644
--- a/includes/ajax_footer.php
+++ b/includes/ajax_footer.php
@@ -1,8 +1,5 @@
-
+
+