From 3b618add097b3099d2d5d428a18b5c8fcbcadb0e Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 26 Jul 2020 21:40:07 +0200 Subject: [PATCH] Adds ALL to list selector in Local DNS Records and CNAME Records Signed-off-by: yubiuser --- scripts/pi-hole/js/customcname.js | 4 ++++ scripts/pi-hole/js/customdns.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/scripts/pi-hole/js/customcname.js b/scripts/pi-hole/js/customcname.js index 37d4983c..a5f9edb9 100644 --- a/scripts/pi-hole/js/customcname.js +++ b/scripts/pi-hole/js/customcname.js @@ -65,6 +65,10 @@ $(function () { } } ], + lengthMenu: [ + [10, 25, 50, 100, -1], + [10, 25, 50, 100, "All"] + ], drawCallback: function () { $(".deleteCustomCNAME").on("click", deleteCustomCNAME); } diff --git a/scripts/pi-hole/js/customdns.js b/scripts/pi-hole/js/customdns.js index d2f4ad56..9419e0a2 100644 --- a/scripts/pi-hole/js/customdns.js +++ b/scripts/pi-hole/js/customdns.js @@ -65,6 +65,10 @@ $(function () { } } ], + lengthMenu: [ + [10, 25, 50, 100, -1], + [10, 25, 50, 100, "All"] + ], drawCallback: function () { $(".deleteCustomDNS").on("click", deleteCustomDNS); }