fixed errors VC

This commit is contained in:
Daniel Barbero Martin 2020-01-28 11:05:15 +01:00
parent e2d610f22c
commit f459c6fb79
3 changed files with 5 additions and 3 deletions

View File

@ -462,7 +462,8 @@ function d3_donut_graph($id, $width, $height, $module_data, $resume_color)
$recipient_name = 'donut_graph_'.$id; $recipient_name = 'donut_graph_'.$id;
$recipient_name_to_js = '#donut_graph_'.$id; $recipient_name_to_js = '#donut_graph_'.$id;
$output = '<div id='.$recipient_name." style='overflow: hidden;'></div>"; $output = '';
$output .= '<div id='.$recipient_name." style='overflow: hidden;'></div>";
$output .= include_javascript_d3(true); $output .= include_javascript_d3(true);
$output .= '<style type="text/css"> $output .= '<style type="text/css">
path { path {
@ -472,6 +473,7 @@ function d3_donut_graph($id, $width, $height, $module_data, $resume_color)
</style>'; </style>';
$output .= "<script language=\"javascript\" type=\"text/javascript\"> $output .= "<script language=\"javascript\" type=\"text/javascript\">
$('".$recipient_name_to_js."').empty();
print_donut_graph('".$recipient_name_to_js."', ".$width.', '.$height.', '.$module_data.", '".$resume_color."'); print_donut_graph('".$recipient_name_to_js."', ".$width.', '.$height.', '.$module_data.", '".$resume_color."');
</script>"; </script>";

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long