Fixed the lines in visualmaps with service items. TICKET: #1896

This commit is contained in:
mdtrooper 2015-03-09 13:12:05 +01:00
parent 2692659a7a
commit 80bd7b0db2
3 changed files with 10 additions and 0 deletions

View File

@ -1527,6 +1527,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;
}
}

View File

@ -160,6 +160,9 @@ $(document).ready (function () {
<?php
}
?>
});
$(window).load(function() {
draw_lines (lines, 'layout_map');
});
/* ]]> */

View File

@ -243,6 +243,10 @@ $(document).ready (function () {
<?php
}
?>
});
$(window).load(function() {
if (typeof(lines) != 'undefined') {
draw_lines (lines, 'layout_map');
}