From 5eed82eb6255c981bc0764485e51b7053828a5f6 Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Tue, 13 Nov 2018 19:00:16 +0100 Subject: [PATCH] fixed minor bug: Assigned node field showing in meta user update form when selecting admin profile in case the user was a stardard user --- pandora_console/godmode/users/configure_user.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/godmode/users/configure_user.php b/pandora_console/godmode/users/configure_user.php index 670da39fc2..86dae53a62 100644 --- a/pandora_console/godmode/users/configure_user.php +++ b/pandora_console/godmode/users/configure_user.php @@ -741,10 +741,14 @@ $(document).ready (function () { if($('#radiobtn0002').prop('checked')) { $('#user_configuration_table-metaconsole_agents_manager').show(); $('#user_configuration_table-metaconsole_access_node').show(); + if($('#checkbox-metaconsole_agents_manager').prop('checked')) { + $('#user_configuration_table-metaconsole_assigned_server').show(); + } } else { $('#user_configuration_table-metaconsole_agents_manager').hide(); $('#user_configuration_table-metaconsole_access_node').hide(); + $('#user_configuration_table-metaconsole_assigned_server').hide(); } });