annotate .svn/pristine/b8/b82249ef6d9d5665b6dffb22c19888b3988d4f1a.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 $('#tab-content-members').html('<%= escape_javascript(render :partial => 'projects/settings/members') %>');
Chris@1296 2 hideOnLoad();
Chris@1296 3
Chris@1296 4 <% if @members.present? && @members.all? {|m| m.valid? } %>
Chris@1296 5 <% @members.each do |member| %>
Chris@1296 6 $("#member-<%= member.id %>").effect("highlight");
Chris@1296 7 <% end %>
Chris@1296 8 <% else %>
Chris@1296 9 <% errors = @members.collect {|m| m.errors.full_messages}.flatten.uniq.join(', ') %>
Chris@1296 10 alert('<%= raw(escape_javascript(l(:notice_failed_to_save_members, :errors => errors))) %>');
Chris@1296 11 <% end %>