From: Stéphane Jacob Date: Sat, 11 Sep 2010 15:40:12 +0000 (+0200) Subject: Gives focus to To on email send page (Closes #1001). X-Git-Tag: xorg/1.0.1~204 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=7774a3e60726829ab6725592f6a8a72c7ff3b3eb;p=platal.git Gives focus to To on email send page (Closes #1001). Signed-off-by: Stéphane Jacob --- diff --git a/templates/emails/send.tpl b/templates/emails/send.tpl index a8628b4..a0d501a 100644 --- a/templates/emails/send.tpl +++ b/templates/emails/send.tpl @@ -157,6 +157,10 @@ $('#to_contacts option[value=""]').remove(); $('#cc_contacts option[value=""]').remove(); }); + + $(document).ready(function() { + $("[name='to']").focus(); + }); {/literal} //]]>