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