Overview
Comment: | Correction vérification formulaire |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
ccf0ed10531c0caf5877842363d444c1 |
User & Date: | bohwaz on 2013-09-29 11:16:00 |
Other Links: | manifest | tags |
Context
2013-09-29
| ||
11:17 | Fix [0d764c31f3b0032f00d8f5b541df8f212fac78f8] : toujours utiliser bindvalue pour les paramètres check-in: b5d1b8123b user: bohwaz tags: trunk | |
11:16 | Correction vérification formulaire check-in: ccf0ed1053 user: bohwaz tags: trunk | |
10:25 | Fix bug logique check-in: 45c60f5552 user: bohwaz tags: trunk | |
Changes
Modified src/www/admin/static/password.js from [0aff5ba0f0] to [464ae5d01c].
︙ | ︙ | |||
36 37 38 39 40 41 42 | pw_elm.onblur = function () { checkPasswordStrength(); checkPasswordMatch(); }; pw2_elm.onkeypress = checkPasswordMatch; pw2_elm.onblur = checkPasswordMatch; pw2_elm.onchange = checkPasswordMatch; pw_elm.form.addEventListener('submit', function (e) { if (pw_elm.value == '') return true; | | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | pw_elm.onblur = function () { checkPasswordStrength(); checkPasswordMatch(); }; pw2_elm.onkeypress = checkPasswordMatch; pw2_elm.onblur = checkPasswordMatch; pw2_elm.onchange = checkPasswordMatch; pw_elm.form.addEventListener('submit', function (e) { if (pw_elm.value == '') return true; if (scorePassword(pw_elm.value) <= 30 && !window.confirm("Êtes-vous sûr de vouloir utiliser un mot de passe aussi mauvais que ça ?")) { e = e || window.event; if(e.preventDefault) e.preventDefault(); if(e.stopPropagation) e.stopPropagation(); e.returnValue = false; |
︙ | ︙ |