Remove XSS in profile
This commit is contained in:
parent
4b74796c07
commit
3c6dd3d721
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
$(this).closest('li').fadeOut(200);
|
$(this).closest('li').fadeOut(200);
|
||||||
});
|
});
|
||||||
$('.delete').bind('ajax:failure', function() {
|
$('.delete').bind('ajax:failure', function() {
|
||||||
alert("#{t('.cannot_remove', :name => person.name)}");
|
alert(h("#{t('.cannot_remove', :name => person.name)}"));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue