From 93aedf926e56405aaeadd40036ef9712a1cd3dc3 Mon Sep 17 00:00:00 2001 From: Etienne Trimaille Date: Tue, 28 Nov 2023 15:23:27 +0100 Subject: [PATCH] Update JS file from Jelix about password editor --- lizmap/www/assets/jelix/js/jforms/password-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lizmap/www/assets/jelix/js/jforms/password-editor.js b/lizmap/www/assets/jelix/js/jforms/password-editor.js index c240619d61..0fd2391e40 100644 --- a/lizmap/www/assets/jelix/js/jforms/password-editor.js +++ b/lizmap/www/assets/jelix/js/jforms/password-editor.js @@ -46,7 +46,7 @@ var JelixPasswordEditor = { } buttonRegen.addEventListener('click', function () { - inputEl.value = JelixPasswordEditor.generatePassword(minlength, Math.min(maxlength, 30)); + inputEl.setAttribute('value', JelixPasswordEditor.generatePassword(minlength, Math.min(maxlength, 30))); launchTimerListener(); }); buttonToggleVisibility.addEventListener('click', function () {