X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Femails%2Fredirect.tpl;h=a56e173e8ad33894087c1dae4ac6f8263b9ff4d7;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=90033fd8c23b915e124b99ac055a36bcff0ec50c;hpb=0d66652e6e401991864fd180bc18d07ecb066656;p=platal.git diff --git a/templates/emails/redirect.tpl b/templates/emails/redirect.tpl index 90033fd..a56e173 100644 --- a/templates/emails/redirect.tpl +++ b/templates/emails/redirect.tpl @@ -79,9 +79,9 @@ function removeRedirect(link, email) { - if (confirm("Supprimer l'adresse " + email + " ?")) { + if (confirm("Supprimer l'adresse " + email + " ?")) { $.get(link.href, {},function() { - $('tr[@id=line_' + email.replace('@', '_at_') + ']').remove(); + $('#line_' + email.replace('@', '_at_').replace('.','\\.')).remove(); showRemove(); activeEnable(); }); @@ -123,6 +123,7 @@ {test_email}