diff --git a/core/module/user/view/profilAdd/profilAdd.css b/core/module/user/view/profilAdd/profilAdd.css index 18c1858e..121ee684 100644 --- a/core/module/user/view/profilAdd/profilAdd.css +++ b/core/module/user/view/profilAdd/profilAdd.css @@ -17,6 +17,6 @@ * admin.css */ -#containerPage { +.containerPage { display: none; } \ No newline at end of file diff --git a/core/module/user/view/profilAdd/profilAdd.js.php b/core/module/user/view/profilAdd/profilAdd.js.php index 7b84ecd3..04e6fdbc 100644 --- a/core/module/user/view/profilAdd/profilAdd.js.php +++ b/core/module/user/view/profilAdd/profilAdd.js.php @@ -28,12 +28,11 @@ $(document).ready(function () { }); // Désactive la gestion des pages pour les membres - $('#profilAddGroup').change(function() { - console.log($(this).val()); + $('#profilAddGroup').change(function() {; if ($(this).val() === '1') { - $('#containerPage').slideUp(); + $('.containerPage').slideUp(); } else { - $('#containerPage').slideDown(); + $('.containerPage').slideDown(); } }); diff --git a/core/module/user/view/profilAdd/profilAdd.php b/core/module/user/view/profilAdd/profilAdd.php index 2b3be40d..f16771ad 100644 --- a/core/module/user/view/profilAdd/profilAdd.php +++ b/core/module/user/view/profilAdd/profilAdd.php @@ -44,7 +44,7 @@ -