1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-11-13 03:31:47 -05:00

Merge pull request #82 from narspt/patch-1

don't use location.reload() if there is a 'do' GET request
This commit is contained in:
LX1IQ 2018-02-06 14:11:24 +01:00 committed by GitHub
commit 4b4658f8c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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'])) {

View File

@ -110,7 +110,7 @@ if ($CallingHome['Active']) {
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'])) {