"export" is a reserved word in JavaScript

This commit is contained in:
Gregory K 2013-11-25 07:18:01 -05:00
parent a44702163f
commit 8539e81d79
1 changed files with 2 additions and 2 deletions

View File

@ -122,10 +122,10 @@ jQuery(document).ready(function($) {
exclude_series = exclude_series.split(',');
var xaxes_label = $(this).data('xaxes');
var groupby = $(this).data('groupby');
var export = $(this).data('export');
var export_format = $(this).data('export');
var csv_data = "data:application/csv;charset=utf-8,"
if ( export == 'table' ) {
if ( export_format == 'table' ) {
$(this).closest('div').find('thead tr,tbody tr').each(function() {
$(this).find('th,td').each(function() {