summaryrefslogtreecommitdiffstats
path: root/app/views/users/edit_membership.js.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/edit_membership.js.erb')
-rw-r--r--app/views/users/edit_membership.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/edit_membership.js.erb b/app/views/users/edit_membership.js.erb
index 94507567f..d9ad2f355 100644
--- a/app/views/users/edit_membership.js.erb
+++ b/app/views/users/edit_membership.js.erb
@@ -2,5 +2,5 @@
$('#tab-content-memberships').html('<%= escape_javascript(render :partial => 'users/memberships') %>');
$("#member-<%= @membership.id %>").effect("highlight");
<% else %>
- alert('<%= escape_javascript l(:notice_failed_to_save_members, :errors => @membership.errors.full_messages.join(', ')) %>');
+ alert('<%= raw(escape_javascript(l(:notice_failed_to_save_members, :errors => @membership.errors.full_messages.join(', ')))) %>');
<% end %>