projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes display of removed redirection.
[platal.git]
/
templates
/
emails
/
send.tpl
diff --git
a/templates/emails/send.tpl
b/templates/emails/send.tpl
index
f637339
..
1434bc5
100644
(file)
--- a/
templates/emails/send.tpl
+++ b/
templates/emails/send.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-201
0
Polytechnique.org *}
+{* Copyright (C) 2003-201
1
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-65,7
+65,7
@@
for (var i = 0 ; i < form['cc_contacts[]'].length ; ++i) {
ccc += form['cc_contacts[]'].options[i].value + ";";
}
for (var i = 0 ; i < form['cc_contacts[]'].length ; ++i) {
ccc += form['cc_contacts[]'].options[i].value + ";";
}
- $.
post(platal_baseurl +
"emails/send",
+ $.
xpost(
"emails/send",
{ save: true,
token: '{xsrf_token}',
from: form.from.value,
{ save: true,
token: '{xsrf_token}',
from: form.from.value,
@@
-150,7
+150,7
@@
saveMessage();
return true;
});
saveMessage();
return true;
});
- $(
document).ready(
+ $(
function() {
// Remove empty options in select (they were added only for HTML
// compatibility).
function() {
// Remove empty options in select (they were added only for HTML
// compatibility).
@@
-158,7
+158,7
@@
$('#cc_contacts option[value=""]').remove();
});
$('#cc_contacts option[value=""]').remove();
});
- $(
document).ready(
function() {
+ $(function() {
$("[name='to']").focus();
});
{/literal}
$("[name='to']").focus();
});
{/literal}