From fc239ef7b5496dce6e57b43986c2749bcd400143 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Mon, 14 Apr 2025 06:49:25 -0500 Subject: [PATCH] hidecm, layout changes --- rdgenerator/templates/generator.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rdgenerator/templates/generator.html b/rdgenerator/templates/generator.html index d504ef3..3b8a912 100644 --- a/rdgenerator/templates/generator.html +++ b/rdgenerator/templates/generator.html @@ -389,8 +389,10 @@ if (this.checked) { document.getElementById("passwordRequirement").style.display = 'block'; document.getElementById("{{ form.permanentPassword.id_for_label }}").focus(); + document.getElementById("{{ form.passApproveMode.id_for_label }}").value = 'password'; } else { document.getElementById("passwordRequirement").style.display = 'none'; + document.getElementById("{{ form.passApproveMode.id_for_label }}").value = 'password-click'; } }); const enableKeyboard = document.getElementById("{{ form.enableKeyboard.id_for_label }}");