Skip to content

Commit

Permalink
Fixed issue #18521: Checkbox issue in the permission modal (#2870)
Browse files Browse the repository at this point in the history
Co-authored-by: lapiudevgit <devgit@lapiu.biz>
  • Loading branch information
gabrieljenik and lapiudevgit committed Feb 10, 2023
1 parent ac01d69 commit c83b1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/packages/usermanagement/js/usermanagement.js
Expand Up @@ -171,7 +171,7 @@ var UserManagement = function () {

$('.specific-permission-selector').on('click', function () {
var thisRow = $(this).closest('tr');
if (thisRow.find('.specific-settings-block input:checked').size() == thisRow.find('.extended input').size()) {
if (thisRow.find('.specific-settings-block input:checked').size() == thisRow.find('.specific-settings-block input').size()) {
thisRow.find('.general-row-selector').prop('checked', true);
thisRow.find('.general-row-selector').removeClass('incomplete-selection');
} else if (thisRow.find('.specific-settings-block input:checked').size() == 0) {
Expand Down

0 comments on commit c83b1c6

Please sign in to comment.