From 8e38266450c12aa403cec88dc2dd170cc3af5f07 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Wed, 26 Mar 2008 00:29:46 +0100 Subject: [PATCH] The result of the 'remember-me' popup was undefined this the return value of the onchange function was undefined. Signed-off-by: Florent Bruneau --- templates/core/password_prompt.tpl | 2 ++ 1 file changed, 2 insertions(+) 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} -- 2.1.4