Mercurial > hg > soundsoftware-site
view .svn/pristine/ba/ba4ceab8adc1717a11b6033a44e49578fa2b57be.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 11 Sep 2014 10:24:38 +0100 |
parents | 038ba2d95de8 |
children |
line wrap: on
line source
<% if @membership.valid? %> $('#tab-content-memberships').html('<%= escape_javascript(render :partial => 'users/memberships') %>'); $("#member-<%= @membership.id %>").effect("highlight"); <% else %> alert('<%= raw(escape_javascript(l(:notice_failed_to_save_members, :errors => @membership.errors.full_messages.join(', ')))) %>'); <% end %>