From 4b4c3f5c6a8111ec98475fedb45d6eab02288087 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Thu, 2 Jun 2016 15:13:46 +0200 Subject: [PATCH] Fix to print the user lines into the visual maps. Ticket #3746 (cherry picked from commit caac294f6e426a7a302a192f5931af95025a328b) --- pandora_console/include/functions_visual_map.php | 11 +++++------ .../include/javascript/pandora_visual_console.js | 5 +++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 18da5dd18f..22b89234de 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -1969,12 +1969,11 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, var user_lines = Array(); //Fixed to wait the load of images. - $(window).load(function() { - draw_lines(lines, 'background_'+id_layout); - draw_user_lines_read(); - center_labels(); - } - ); + $(window).load(function () { + draw_lines(lines, 'background_'+id_layout); + draw_user_lines_read('background_'+id_layout); + center_labels(); + }); /* ]]> */