mirror of
https://github.com/bryangerlach/rdgen.git
synced 2025-11-29 00:23:27 +00:00
hidecm, layout changes
This commit is contained in:
@@ -389,8 +389,10 @@
|
|||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
document.getElementById("passwordRequirement").style.display = 'block';
|
document.getElementById("passwordRequirement").style.display = 'block';
|
||||||
document.getElementById("{{ form.permanentPassword.id_for_label }}").focus();
|
document.getElementById("{{ form.permanentPassword.id_for_label }}").focus();
|
||||||
|
document.getElementById("{{ form.passApproveMode.id_for_label }}").value = 'password';
|
||||||
} else {
|
} else {
|
||||||
document.getElementById("passwordRequirement").style.display = 'none';
|
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 }}");
|
const enableKeyboard = document.getElementById("{{ form.enableKeyboard.id_for_label }}");
|
||||||
|
|||||||
Reference in New Issue
Block a user