From 611d953141a5a9e84fd3c69501fcd9abdf909f71 Mon Sep 17 00:00:00 2001 From: glaszig Date: Mon, 19 Aug 2019 02:10:11 +0100 Subject: [PATCH] no need for js to reload the page --- templates/dashboard.php | 2 +- templates/system.php | 4 ++-- templates/themes.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/dashboard.php b/templates/dashboard.php index 175d1255..35a4afb5 100644 --- a/templates/dashboard.php +++ b/templates/dashboard.php @@ -90,7 +90,7 @@ exec('cat '.RASPI_DNSMASQ_LEASES.'| grep -E $(arp -i '.$client_iface.' -n | grep " name="ifdown_wlan0" /> - " onclick="document.location.reload(true)" /> + diff --git a/templates/system.php b/templates/system.php index 608e96d4..9f184ad7 100644 --- a/templates/system.php +++ b/templates/system.php @@ -69,7 +69,7 @@ if ($cpuload > 90) { " /> " /> - " onclick="document.location.reload(true)" /> + @@ -84,7 +84,7 @@ if ($cpuload > 90) { " /> - " onclick="document.location.reload(true)" /> +
diff --git a/templates/themes.php b/templates/themes.php index 1a4d41a8..8920ad00 100644 --- a/templates/themes.php +++ b/templates/themes.php @@ -15,7 +15,7 @@
- " onclick="document.location.reload(true)" /> +