mirror of
https://github.com/LX3JL/xlxd.git
synced 2026-04-21 06:13:43 +00:00
don't use location.reload() if there is a 'do' GET request
This commit is contained in:
parent
14f00b9711
commit
90fe828fd1
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ else {
|
|||
var PageRefresh;
|
||||
|
||||
function ReloadPage() {';
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
if (($_SERVER['REQUEST_METHOD'] === 'POST') || isset($_GET['do'])) {
|
||||
echo '
|
||||
document.location.href = "./index.php';
|
||||
if (isset($_GET['show'])) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue