From 7ec97b2c9e5d11d2c1c00105653a56b12fec1884 Mon Sep 17 00:00:00 2001 From: narspt Date: Fri, 2 Feb 2018 20:26:33 +0000 Subject: [PATCH 1/3] use location.reload() to keep page scroll position use location.reload() to keep page scroll position on page refreshes, but keep using location.href method for POST requests to avoid browser asking to resubmit data on reloads --- dashboard/index.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/dashboard/index.php b/dashboard/index.php index a8021ab..9f1d9ab 100755 --- a/dashboard/index.php +++ b/dashboard/index.php @@ -97,12 +97,19 @@ else { '; } if (!isset($_GET['show'])) $_GET['show'] = "";