Fix auto-save for email composition form.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 16 Nov 2012 21:56:58 +0000 (22:56 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 16 Nov 2012 21:56:58 +0000 (22:56 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
templates/emails/send.tpl

index 1524824..a4e519c 100644 (file)
@@ -67,7 +67,7 @@
     }
     $.xpost("emails/send",
            { save: true,
-             token: '{xsrf_token}',
+             token: {/literal}'{xsrf_token}'{literal},
              from: form.from.value,
              to_contacts: toc,
              cc_contacts: ccc,