Fixed error in js library and added good export to graph container graphs
This commit is contained in:
parent
2b5240cedc
commit
ae657210f8
|
@ -54,6 +54,7 @@ if (enterprise_include_once('include/functions_reporting.php') !== ENTERPRISE_NO
|
||||||
$enterpriseEnable = true;
|
$enterpriseEnable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html_print_input_hidden ('custom_graph', 1);
|
||||||
if ($enterpriseEnable) {
|
if ($enterpriseEnable) {
|
||||||
$buttons = reporting_enterprise_add_template_graph_tabs($buttons);
|
$buttons = reporting_enterprise_add_template_graph_tabs($buttons);
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,9 +34,6 @@
|
||||||
}
|
}
|
||||||
if (dataObjects.length > 1) {
|
if (dataObjects.length > 1) {
|
||||||
dataObjects.forEach(function (element) {
|
dataObjects.forEach(function (element) {
|
||||||
if (/^Avg.:/i.test(element.label))
|
|
||||||
result = element;
|
|
||||||
if (/^Percentil/i.test(element.label))
|
|
||||||
result = element;
|
result = element;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue