Fixed the lines in visualmaps with service items. TICKET: #1896
(cherry picked from commit 80bd7b0db2
)
Conflicts:
pandora_console/operation/visual_console/public_console.php
pandora_console/operation/visual_console/render_view.php
This commit is contained in:
parent
c6f74233f0
commit
dba729a272
|
@ -1917,6 +1917,9 @@ function updateDB_visual(type, idElement , values, event, top, left) {
|
|||
$("#background").css('height', values['height'] + 'px');
|
||||
}
|
||||
break;
|
||||
case 'service':
|
||||
refresh_lines(lines, 'background', true);
|
||||
break;
|
||||
}
|
||||
|
||||
draw_user_lines("", 0, 0, 0 , 0, 0, true);
|
||||
|
|
|
@ -160,5 +160,9 @@ $(document).ready (function () {
|
|||
}
|
||||
?>
|
||||
});
|
||||
|
||||
$(window).load(function() {
|
||||
draw_lines (lines, 'layout_map');
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
|
|
@ -268,5 +268,11 @@ ui_require_javascript_file ('pandora_visual_console');
|
|||
}
|
||||
?>
|
||||
});
|
||||
|
||||
$(window).load(function() {
|
||||
if (typeof(lines) != 'undefined') {
|
||||
draw_lines (lines, 'layout_map');
|
||||
}
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue