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:
commit
4b4658f8c9
@ -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'])) {
|
||||
|
@ -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'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user