From e879f6f755f420056059e682aa44f1481de130f3 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 28 Jan 2015 11:56:38 +0100 Subject: [PATCH] Fixed problem in tree view with servername containt dot, tree not expand Problem in loadSubTree in search field with id X --- pandora_console/operation/tree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/operation/tree.php b/pandora_console/operation/tree.php index 2daade52aa..cb781137e8 100755 --- a/pandora_console/operation/tree.php +++ b/pandora_console/operation/tree.php @@ -709,7 +709,7 @@ ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascri * id_father int use in js and ajax php, its useful when you have a two subtrees with same agent for diferent each one */ function loadSubTree(type, div_id, less_branchs, id_father, server_name) { - var id = id_father + '_' + type + '_' + server_name + '_' + div_id; + var id = id_father + '_' + type + '_' + server_name.replace('.','\\.') + '_' + div_id; var hiddenDiv = $('#tree_div' + id).attr('hiddenDiv'); var loadDiv = $('#tree_div' + id).attr('loadDiv');