projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd78fea
)
Gives focus to To on email send page (Closes #1001).
author
Stéphane Jacob
<sj@m4x.org>
Sat, 11 Sep 2010 15:40:12 +0000
(17:40 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sat, 11 Sep 2010 17:39:52 +0000
(19:39 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/emails/send.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/emails/send.tpl
b/templates/emails/send.tpl
index
a8628b4
..
a0d501a
100644
(file)
--- 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}
//]]>
</script>