Sha256: cce2844a051e8d6b948f005d5c06f4838d2d0842d6ebc0da20fc67a41f813a80

Contents?: true

Size: 522 Bytes

Versions: 34

Compression:

Stored size: 522 Bytes

Contents

$('#tab-content-members').html('<%= escape_javascript(render :partial => 'projects/settings/members') %>');
hideOnLoad();

<% if @members.present? && @members.all? {|m| m.valid? } %>
  hideModal();
  <% @members.each do |member| %>
    $("#member-<%= member.id %>").effect("highlight");
  <% end %>
<% elsif @members.present? %>
  <% errors = @members.collect {|m| m.errors.full_messages}.flatten.uniq.join(', ') %>
  alert('<%= raw(escape_javascript(l(:notice_failed_to_save_members, :errors => errors))) %>');
<% end %>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.38 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.37 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.11 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.10 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.36 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.34 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.09 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.07 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.06 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.05 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.04 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.03 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.33 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.02 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.1.01 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.29 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.28 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.27 spec/redmine/app/views/members/create.js.erb
redmine_extensions-0.0.24 spec/redmine/app/views/members/create.js.erb