From 09b036d65b70344d27df39b715d307d80d469e38 Mon Sep 17 00:00:00 2001
From: Kevin Duret <duret.kevin@gmail.com>
Date: Mon, 28 May 2018 11:40:37 +0200
Subject: [PATCH] fix(front): fix acl actions checkboxes (check all / uncheck
 all) (#6309)

---
 .../accessLists/actionsACL/formActionsAccess.ihtml   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/include/options/accessLists/actionsACL/formActionsAccess.ihtml b/www/include/options/accessLists/actionsACL/formActionsAccess.ihtml
index 586c1c5e50..412cca2c88 100644
--- a/www/include/options/accessLists/actionsACL/formActionsAccess.ihtml
+++ b/www/include/options/accessLists/actionsACL/formActionsAccess.ihtml
@@ -142,25 +142,25 @@
 
   jQuery('input[name=all_service]').change(function(){
     if (jQuery(this).prop('checked')) {
-      jQuery('.serviceCheckbox input').attr('checked',true);
+      jQuery('.serviceCheckbox input').attr('checked', true).prop('checked', true);
     } else {
-      jQuery('.serviceCheckbox input').attr('checked',false);
+      jQuery('.serviceCheckbox input').attr('checked', false).prop('checked', false);
     }
   });
 
   jQuery('input[name=all_host]').change(function(){
     if (jQuery(this).prop('checked')) {
-      jQuery('.hostCheckbox input').attr('checked',true);
+      jQuery('.hostCheckbox input').attr('checked', true).prop('checked', true);
     } else {
-      jQuery('.hostCheckbox input').attr('checked',false);
+      jQuery('.hostCheckbox input').attr('checked', false).prop('checked', false);
     }
   });
 
   jQuery('input[name=all_engine]').change(function(){
     if (jQuery(this).prop('checked')) {
-      jQuery('.engineCheckbox input').attr('checked',true);
+      jQuery('.engineCheckbox input').attr('checked', true).prop('checked', true);
     } else {
-      jQuery('.engineCheckbox input').attr('checked',false);
+      jQuery('.engineCheckbox input').attr('checked', false).prop('checked', false);
     }
   });
 
-- 
GitLab