Skip to content

Commit

Permalink
Fix Select None button - closes #3546
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Nov 25, 2023
1 parent fbe3a79 commit d673a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,11 +628,11 @@ function permissionsInit()
{
$(document).ready(function(){
$('.sel-all').click(function(e) {
$("#permissions-fields input").attr('checked', 'checked');
$("#permissions-fields input").prop('checked', true);
e.preventDefault();
});
$('.sel-none').click(function(e) {
$("#permissions-fields input").removeAttr('checked');
$("#permissions-fields input").prop('checked', false);
e.preventDefault();
});
});
Expand Down

0 comments on commit d673a70

Please sign in to comment.