[25161] Fix jQuery.show() on form resulting in display: inline

https://community.openproject.com/projects/openproject/work_packages/25161
pull/5415/head
Oliver Günther 8 years ago
parent 134281450c
commit 2ca70dfb54
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 4
      app/assets/javascripts/members_form.js

@ -66,7 +66,7 @@ function toggleMemberFilter() {
}
function showAddMemberForm() {
jQuery('#members_add_form').show();
jQuery('#members_add_form').css('display', 'block');
jQuery('#members_add_form #principal_search').focus();
hideFilter(filter = findFilter());
jQuery('#filter-member-button').removeClass('-active');
@ -75,7 +75,7 @@ function showAddMemberForm() {
}
function hideAddMemberForm() {
jQuery('#members_add_form').hide();
jQuery('#members_add_form').css('display', 'none');
jQuery('#add-member-button').focus();
jQuery('#add-member-button').prop('disabled', false);
}

Loading…
Cancel
Save