Contacts: Fix redirect after Add and Edit, remove redundant [+] buttons and auto-scroll Notes.

This commit is contained in:
Nate Jones
2015-03-26 19:47:57 +00:00
parent 72c5ecbbb1
commit 6fd4a638e3
8 changed files with 18 additions and 138 deletions

View File

@@ -157,7 +157,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
unset($sql);
$_SESSION["message"] = $text['message-add'];
$location = "contacts.php";
$location = "contact_edit.php?id=".$contact_uuid;
} //if ($action == "add")
//if contact is shared, remove contact group record containing user's uuid
@@ -223,7 +223,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
unset($sql);
$_SESSION["message"] = $text['message-update'];
$location = "contacts.php";
$location = "contact_edit.php?id=".$contact_uuid;
} //if ($action == "update")
//handle redirect