X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Femails%2Fsend.tpl;h=f6373392290a41a36ba0ccc7811225b2f223f624;hb=3c2a69dc96bae79936c677be7fb7554a43c555bc;hp=26ae04d8a1be0b2e633c6382f648e56095181d79;hpb=64087a3430249f84d999be01219697c925c5c7f7;p=platal.git diff --git a/templates/emails/send.tpl b/templates/emails/send.tpl index 26ae04d..f637339 100644 --- a/templates/emails/send.tpl +++ b/templates/emails/send.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -150,22 +150,33 @@ saveMessage(); return true; }); + $(document).ready( + function() { + // Remove empty options in select (they were added only for HTML + // compatibility). + $('#to_contacts option[value=""]').remove(); + $('#cc_contacts option[value=""]').remove(); + }); + + $(document).ready(function() { + $("[name='to']").focus(); + }); {/literal} //]]>
{icon name=information title="Envoi d'email"} Pour envoyer un email, tu peux soit le faire depuis l'interface - ci-dessous, soit utiliser notre serveur d'envoi SMTP. + ci-dessous, soit utiliser notre serveur d'envoi SMTP.