You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edit_membership.js.erb 346B

123456
  1. <% if @membership.valid? %>
  2. $('#tab-content-memberships').html('<%= escape_javascript(render :partial => 'users/memberships') %>');
  3. $("#member-<%= @membership.id %>").effect("highlight");
  4. <% else %>
  5. alert('<%= raw(escape_javascript(l(:notice_failed_to_save_members, :errors => @membership.errors.full_messages.join(', ')))) %>');
  6. <% end %>