From de6a0c21926020febb066b6a217ee0ac179d64d6 Mon Sep 17 00:00:00 2001 From: Tatiana Llorente Date: Thu, 4 Jul 2019 16:20:01 +0200 Subject: [PATCH] Changed disabled to readonly in agent name and id- #4307 --- pandora_console/godmode/agentes/agent_manager.php | 4 ++-- pandora_console/include/styles/pandora.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index 3ea3a7f0c2..77c584c45e 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -201,7 +201,7 @@ if (!$new_agent && $alias != '') { $table_agent_name .= '
'; if ($id_agente) { - $table_agent_name .= ''; + $table_agent_name .= ''; $table_agent_name .= ''; $table_agent_name .= html_print_image( 'images/zoom.png', @@ -1210,7 +1210,7 @@ ui_require_jquery_file('bgiframe'); 128, 128 ); - $("#text-agente").prop('disabled', true); + $("#text-agente").prop('readonly', true); }); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 679e01e0f4..93bd2dee08 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -5323,6 +5323,10 @@ table.info_table.policy_sub_table { margin-bottom: 4px; } +.agent_options input[readonly] { + color: #848484; +} + /* * --------------------------------------------------------------------- * - CLASSES FOR THE NEW TOGGLES -