After adding or editing a device setting redirect back to device_edit.php.

This commit is contained in:
Mark Crane
2013-12-10 14:00:54 +00:00
parent a95988e282
commit 4f50cc2257
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ if (strlen($id)>0) {
//redirect the user
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=device_settings.php?id=$device_uuid\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=device_edit.php?id=$device_uuid\">\n";
echo "<div align='center'>\n";
echo $text['message-delete']."\n";
echo "</div>\n";

View File

@@ -129,7 +129,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//redirect the browser
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=device_settings.php?id=$device_uuid\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=device_edit.php?id=$device_uuid\">\n";
echo "<div align='center'>\n";
if ($action == "add") {
echo $text['message-add']."\n";