diff --git a/app/assets/javascripts/members_form.js b/app/assets/javascripts/members_form.js index f711209e1e..b765b55f91 100644 --- a/app/assets/javascripts/members_form.js +++ b/app/assets/javascripts/members_form.js @@ -48,6 +48,10 @@ jQuery(document).ready(function($) { if (jQuery("#errorExplanation").text() != "") { showAddMemberForm(); } + + if (jQuery('#add-member-button').attr('data-trigger-initially')) { + showAddMemberForm(); + } }); function toggleMemberFilter() { diff --git a/app/views/members/index.html.erb b/app/views/members/index.html.erb index d68643449e..d22d8b20f3 100644 --- a/app/views/members/index.html.erb +++ b/app/views/members/index.html.erb @@ -40,7 +40,12 @@ See doc/COPYRIGHT.rdoc for more details. <% end %> <% if authorize_for(:members, :new) %>
  • -