Return to previous tab (Content & Settings)

- Return to previously active tab after deleting content
- Return to previously active tab after saving settings
This commit is contained in:
Guillaume 2019-01-26 23:11:54 +01:00 committed by GitHub
parent 0eacad9a95
commit b245ac0028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
}
}
Redirect::page('content');
Redirect::page('content'.(isset($_POST['hash'])?$_POST['hash']:''));
}
// ============================================================================
@ -71,4 +71,4 @@ try {
}
// Title of the page
$layout['title'] .= ' - '.$L->g('Edit content').' - '.$page->title();
$layout['title'] .= ' - '.$L->g('Edit content').' - '.$page->title();