Sha256: 12d2fd5a98c27b010fcc9757f203eecc9c9a34009f598903268fa82986f8c8e8

Contents?: true

Size: 571 Bytes

Versions: 34

Compression:

Stored size: 571 Bytes

Contents

$('#tab-content-memberships').html('<%= escape_javascript(render :partial => 'principal_memberships/index', :locals => {:principal => @principal}) %>');
hideOnLoad();

<% if @members.present? && @members.all? {|m| m.persisted? } %>
  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/principal_memberships/create.js.erb
redmine_extensions-0.0.38 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.0.37 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.11 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.10 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.0.36 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.0.34 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.09 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.07 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.06 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.05 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.04 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.03 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.0.33 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.02 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.1.01 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.0.29 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.0.28 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.0.27 spec/redmine/app/views/principal_memberships/create.js.erb
redmine_extensions-0.0.24 spec/redmine/app/views/principal_memberships/create.js.erb