projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/xorg/maint' into xorg/master
[platal.git]
/
templates
/
emails
/
send.tpl
diff --git
a/templates/emails/send.tpl
b/templates/emails/send.tpl
index
a8628b4
..
f637339
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();
});
$('#to_contacts option[value=""]').remove();
$('#cc_contacts option[value=""]').remove();
});
+
+ $(document).ready(function() {
+ $("[name='to']").focus();
+ });
{/literal}
//]]>
</script>
{/literal}
//]]>
</script>
@@
-307,9
+311,9
@@
{literal}
function removeAttachments()
{
{literal}
function removeAttachments()
{
-
Ajax.update_html(null, 'emails/send', null
);
-
document.getElementById('att_already').style.display = 'none'
;
-
document.getElementById('att_form').style.display = ''
;
+
$.xget('email/send'
);
+
$('#att_already').hide()
;
+
$('#att_form').show()
;
}
{/literal}
//]]></script>
}
{/literal}
//]]></script>