X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Femails%2Fredirect.tpl;h=ec033bbfd1aebd549f72988e34110a399029057e;hb=47712f77e9718652c516c85cde99a58d142f67c9;hp=fe168b38e9989bed4b8a7aac981af6c8141184e0;hpb=d058a28521a1d2004eda0f64127cbc8a27f02c0e;p=platal.git diff --git a/templates/emails/redirect.tpl b/templates/emails/redirect.tpl index fe168b3..ec033bb 100644 --- a/templates/emails/redirect.tpl +++ b/templates/emails/redirect.tpl @@ -84,7 +84,7 @@ { if (confirm("Supprimer l'adresse " + email + " ?")) { $.get(link.href, {},function() { - $('#line_' + email.replace('@', '_at_').replace('.', '\\.')).remove(); + $('#line_' + email.replace('@', '_at_').replace(/\./g, '_dot_')).remove(); showRemove(); activeEnable(); }); @@ -136,7 +136,7 @@