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 5e794bd6b8
commit b5c09c7934
2 changed files with 2 additions and 2 deletions

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";