fixed bug: pie graph not showing in mobile's tactical view dashboard widget
This commit is contained in:
parent
ad743d332e
commit
8d2daf3948
|
@ -9970,7 +9970,7 @@ You can of course remove the warnings, that's why we include the source and do n
|
|||
$output .= 'parameters["page"] = "include/ajax/events";';
|
||||
$output .= 'parameters["total_events"] = 1;';
|
||||
|
||||
$output .= '$.ajax({type: "GET",url: "ajax.php",data: parameters,';
|
||||
$output .= '$.ajax({type: "GET",url: "/pandora_console/ajax.php",data: parameters,';
|
||||
$output .= 'success: function(data) {';
|
||||
$output .= '$("#total_events").text(data);';
|
||||
$output .= '}';
|
||||
|
|
|
@ -409,6 +409,8 @@ function flot_pie_chart ($values, $labels, $width, $height, $water_mark,
|
|||
$colors = implode($separator, $colors);
|
||||
}
|
||||
|
||||
include_javascript_dependencies_flot_graph();
|
||||
|
||||
$return .= "<script type='text/javascript'>";
|
||||
|
||||
$return .= "pandoraFlotPie('$graph_id', '$values', '$labels',
|
||||
|
|
Loading…
Reference in New Issue