Private GIT

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

fix(acl): fix select all checkbox in acl actions form (#6193)

* fix(acl): fix select all checkbox in acl actions form
parent 90008bea
Branches
Tags
No related merge requests found
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
<script> <script>
jQuery('input[name=all_service]').change(function(){ jQuery('input[name=all_service]').change(function(){
if(jQuery(this).attr('checked')){ if (jQuery(this).prop('checked')) {
jQuery('.serviceCheckbox input').attr('checked',true); jQuery('.serviceCheckbox input').attr('checked',true);
} else { } else {
jQuery('.serviceCheckbox input').attr('checked',false); jQuery('.serviceCheckbox input').attr('checked',false);
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
}); });
jQuery('input[name=all_host]').change(function(){ jQuery('input[name=all_host]').change(function(){
if(jQuery(this).attr('checked')){ if (jQuery(this).prop('checked')) {
jQuery('.hostCheckbox input').attr('checked',true); jQuery('.hostCheckbox input').attr('checked',true);
} else { } else {
jQuery('.hostCheckbox input').attr('checked',false); jQuery('.hostCheckbox input').attr('checked',false);
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
}); });
jQuery('input[name=all_engine]').change(function(){ jQuery('input[name=all_engine]').change(function(){
if(jQuery(this).attr('checked')){ if (jQuery(this).prop('checked')) {
jQuery('.engineCheckbox input').attr('checked',true); jQuery('.engineCheckbox input').attr('checked',true);
} else { } else {
jQuery('.engineCheckbox input').attr('checked',false); jQuery('.engineCheckbox input').attr('checked',false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment