mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fixed the lines in visualmaps with service items. TICKET: #1896
This commit is contained in:
parent
2692659a7a
commit
80bd7b0db2
@ -1527,6 +1527,9 @@ function updateDB_visual(type, idElement , values, event, top, left) {
|
|||||||
$("#background").css('height', values['height'] + 'px');
|
$("#background").css('height', values['height'] + 'px');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'service':
|
||||||
|
refresh_lines(lines, 'background', true);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,6 +160,9 @@ $(document).ready (function () {
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
});
|
||||||
|
|
||||||
|
$(window).load(function() {
|
||||||
draw_lines (lines, 'layout_map');
|
draw_lines (lines, 'layout_map');
|
||||||
});
|
});
|
||||||
/* ]]> */
|
/* ]]> */
|
||||||
|
@ -243,6 +243,10 @@ $(document).ready (function () {
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
$(window).load(function() {
|
||||||
if (typeof(lines) != 'undefined') {
|
if (typeof(lines) != 'undefined') {
|
||||||
draw_lines (lines, 'layout_map');
|
draw_lines (lines, 'layout_map');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user