diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 30042632b1..810e105719 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2013-06-24 Miguel de Dios + + * operation/visual_console/render_view.php: fixed the javascript + draw lines when there is any error in the map. + + MERGED FROM THE BRANCH PANDORA_4.0 + 2013-06-24 Miguel de Dios * include/functions_visual_map.php: added more changes for to make diff --git a/pandora_console/operation/visual_console/render_view.php b/pandora_console/operation/visual_console/render_view.php index 1c1517377b..2bbe098f07 100644 --- a/pandora_console/operation/visual_console/render_view.php +++ b/pandora_console/operation/visual_console/render_view.php @@ -197,7 +197,7 @@ $(document).ready (function () { 0) { - ?> + ?> t = new Date(); t.setTime (t.getTime() + ); $("#countdown").countdown({ @@ -205,10 +205,13 @@ $(document).ready (function () { format: 'MS', description: '' }); - - draw_lines (lines, 'layout_map'); + if (typeof(lines) != 'undefined') { + draw_lines (lines, 'layout_map'); + } }); /* ]]> */