mirror of https://github.com/ShaYmez/xlxd.git
db2: don't use location.reload() if there is a 'do' GET request
This commit is contained in:
parent
90fe828fd1
commit
e4b196e72a
|
@ -110,7 +110,7 @@ if ($CallingHome['Active']) {
|
||||||
var PageRefresh;
|
var PageRefresh;
|
||||||
|
|
||||||
function ReloadPage() {';
|
function ReloadPage() {';
|
||||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
if (($_SERVER['REQUEST_METHOD'] === 'POST') || isset($_GET['do'])) {
|
||||||
echo '
|
echo '
|
||||||
document.location.href = "./index.php';
|
document.location.href = "./index.php';
|
||||||
if (isset($_GET['show'])) {
|
if (isset($_GET['show'])) {
|
||||||
|
|
Loading…
Reference in New Issue