From 009fa2f1b7f44ce983eece60a19ec1c109dcdcfe Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Wed, 1 Nov 2017 21:30:14 -0400 Subject: [PATCH] Hide password textbox if there is no password --- advanced/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/advanced/index.php b/advanced/index.php index 1fa6a53c..923aa7ce 100644 --- a/advanced/index.php +++ b/advanced/index.php @@ -218,6 +218,7 @@ if (explode("-", $phVersion)[1] != "0") // Enable password input if necessary if (!empty($svPasswd)) { echo '$("#bpWLPassword").attr("placeholder", "Password");'; + echo '$("#bpWLPassword").css("display", "inline-block");'; echo '$("#bpWLPassword").prop("disabled", false);'; } } @@ -273,7 +274,7 @@ if (explode("-", $phVersion)[1] != "0")
- +