From: Florent Bruneau Date: Tue, 25 Mar 2008 23:29:46 +0000 (+0100) Subject: The result of the 'remember-me' popup was undefined this the return value of the... X-Git-Tag: xorg/0.9.16~52 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8e38266450c12aa403cec88dc2dd170cc3af5f07;p=platal.git The result of the 'remember-me' popup was undefined this the return value of the onchange function was undefined. Signed-off-by: Florent Bruneau --- diff --git a/templates/core/password_prompt.tpl b/templates/core/password_prompt.tpl index 02b5844..23dfe8d 100644 --- a/templates/core/password_prompt.tpl +++ b/templates/core/password_prompt.tpl @@ -89,7 +89,9 @@ Si tu n'es pas {insert name="getName"}, change le login ci-dessous, ou rends-toi if (input.checked && !confirm('Cocher cette case te permet d\'être automatiquement reconnu à ta prochaine connexion depuis cet ordinateur. ' + 'Il n\'est pas conseillé de cocher la case si cette machine n\'est pas strictement personnelle.\n\nVeux-tu vraiment cocher cette case ?')) { input.checked = false; + return false; } + return true; } {/literal}