Remove XSS in profile

This commit is contained in:
Raphael 2011-01-19 16:06:44 -08:00
parent 4b74796c07
commit 3c6dd3d721

View file

@ -9,7 +9,7 @@
$(this).closest('li').fadeOut(200);
});
$('.delete').bind('ajax:failure', function() {
alert("#{t('.cannot_remove', :name => person.name)}");
alert(h("#{t('.cannot_remove', :name => person.name)}"));
});
});