Fixed the CSV export of the module graph for Firefox

This commit is contained in:
Alejandro Gallardo Escobar 2015-08-05 16:42:10 +02:00
parent e81b050e81
commit e8a7ce322f
1 changed files with 3 additions and 0 deletions

View File

@ -1183,6 +1183,9 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
.prop('method', 'POST')
.prop('action', homeurl + '/include/graphs/export_data.php')
.append($dataInput, $typeInput, $separatorInput, $excelInput)
.hide()
// Firefox made me write into the DOM for this :(
.appendTo('body')
.submit();
}
catch (e) {