Fixed error in js library and added good export to graph container graphs

This commit is contained in:
Arturo Gonzalez 2017-09-19 17:46:12 +02:00
parent 2b5240cedc
commit ae657210f8
2 changed files with 2 additions and 4 deletions

View File

@ -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);
} }

View File

@ -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;
}); });