Date and time format: exports finalization.

SVN:trunk[4117]
This commit is contained in:
Denis Flaven
2016-05-23 14:39:21 +00:00
parent 7a6e47f067
commit 7761404755
6 changed files with 18 additions and 6 deletions

View File

@@ -202,6 +202,8 @@ class CSVBulkExport extends TabularBulkExport
<<<EOF
$('#csv_custom_date_time_format').tooltip({content: function() { return $sJSTooltip; } });
$('#form_part_csv_options').on('preview_updated', function() { FormatDatesInPreview('csv', 'csv'); });
$('#csv_date_time_format_default').on('click', function() { FormatDatesInPreview('csv', 'csv'); });
$('#csv_date_time_format_custom').on('click', function() { FormatDatesInPreview('csv', 'csv'); });
$('#csv_custom_date_time_format').on('click', function() { $('#csv_date_time_format_custom').prop('checked', true); FormatDatesInPreview('csv', 'csv'); }).on('keyup', function() { FormatDatesInPreview('csv', 'csv'); });
EOF
);