Private GIT

Skip to content
Snippets Groups Projects
Commit 46f0348d authored by Kevin Duret's avatar Kevin Duret Committed by Kevin Duret
Browse files

fix(front): fix acl actions checkboxes (check all / uncheck all) (#6309)

parent e04e5bd3
Branches
No related tags found
No related merge requests found
...@@ -142,25 +142,25 @@ ...@@ -142,25 +142,25 @@
jQuery('input[name=all_service]').change(function(){ jQuery('input[name=all_service]').change(function(){
if (jQuery(this).prop('checked')) { if (jQuery(this).prop('checked')) {
jQuery('.serviceCheckbox input').attr('checked',true); jQuery('.serviceCheckbox input').attr('checked', true).prop('checked', true);
} else { } else {
jQuery('.serviceCheckbox input').attr('checked',false); jQuery('.serviceCheckbox input').attr('checked', false).prop('checked', false);
} }
}); });
jQuery('input[name=all_host]').change(function(){ jQuery('input[name=all_host]').change(function(){
if (jQuery(this).prop('checked')) { if (jQuery(this).prop('checked')) {
jQuery('.hostCheckbox input').attr('checked',true); jQuery('.hostCheckbox input').attr('checked', true).prop('checked', true);
} else { } else {
jQuery('.hostCheckbox input').attr('checked',false); jQuery('.hostCheckbox input').attr('checked', false).prop('checked', false);
} }
}); });
jQuery('input[name=all_engine]').change(function(){ jQuery('input[name=all_engine]').change(function(){
if (jQuery(this).prop('checked')) { if (jQuery(this).prop('checked')) {
jQuery('.engineCheckbox input').attr('checked',true); jQuery('.engineCheckbox input').attr('checked', true).prop('checked', true);
} else { } else {
jQuery('.engineCheckbox input').attr('checked',false); jQuery('.engineCheckbox input').attr('checked', false).prop('checked', false);
} }
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment