From 43151d3c438762d8abd9ca04f6d413e1b02a98b7 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 11 May 2020 16:57:20 +0300 Subject: [PATCH] Add `type="button"` to all buttons. The default is `type="submit"`. Signed-off-by: XhmikosR --- debug.php | 2 +- dns_records.php | 2 +- gravity.php | 2 +- groups-adlists.php | 2 +- groups-clients.php | 2 +- groups.php | 2 +- queries.php | 9 --------- queryads.php | 4 ++-- scripts/pi-hole/js/auditlog.js | 14 +++++++++++--- scripts/pi-hole/js/customdns.js | 2 +- scripts/pi-hole/js/groups-adlists.js | 2 +- scripts/pi-hole/js/groups-clients.js | 2 +- scripts/pi-hole/js/groups-domains.js | 2 +- scripts/pi-hole/js/groups.js | 2 +- scripts/pi-hole/php/footer.php | 2 +- settings.php | 6 +++--- 16 files changed, 28 insertions(+), 29 deletions(-) diff --git a/debug.php b/debug.php index ccb139c7..db721cad 100644 --- a/debug.php +++ b/debug.php @@ -14,7 +14,7 @@

Upload debug log and provide token once finished

Once you click this button a debug log will be generated and can automatically be uploaded if we detect a working internet connection.

- + diff --git a/dns_records.php b/dns_records.php index 0ff0e2f4..d95e7739 100644 --- a/dns_records.php +++ b/dns_records.php @@ -39,7 +39,7 @@ diff --git a/gravity.php b/gravity.php index b73cf514..4ae73ebb 100644 --- a/gravity.php +++ b/gravity.php @@ -22,7 +22,7 @@ Success! - + diff --git a/groups-adlists.php b/groups-adlists.php index aef8f884..d6f93238 100644 --- a/groups-adlists.php +++ b/groups-adlists.php @@ -38,7 +38,7 @@ diff --git a/groups-clients.php b/groups-clients.php index d16445af..6888ccc9 100644 --- a/groups-clients.php +++ b/groups-clients.php @@ -40,7 +40,7 @@ diff --git a/groups.php b/groups.php index aeddf336..6367a2cc 100644 --- a/groups.php +++ b/groups.php @@ -37,7 +37,7 @@ diff --git a/queries.php b/queries.php index 20c65305..6779be74 100644 --- a/queries.php +++ b/queries.php @@ -83,15 +83,6 @@ if(strlen($showing) > 0) - - - diff --git a/settings.php b/settings.php index 280008f1..2ed87763 100644 --- a/settings.php +++ b/settings.php @@ -539,7 +539,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists" "> - @@ -568,7 +568,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists" "> 0) { ?> - @@ -583,7 +583,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists" -