Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct build table names for "Copy", "CSV" and "Excel" #675

Merged
merged 3 commits into from
Oct 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions static/js/vendor/DataTables/datatables.js
Original file line number Diff line number Diff line change
Expand Up @@ -27583,7 +27583,7 @@ DataTable.ext.buttons.copyHtml5 = {
var exportData = _exportData( dt, config );
var data = dt.buttons.exportData( config.exportOptions );
var output_ = exportData.str;
if (data.header[2][0] !== "T") {
if (data.header[2][0] == 2) {
var str = $('tr:first').text() + '\n'
var output = str + output_
}
Expand Down Expand Up @@ -27692,7 +27692,7 @@ DataTable.ext.buttons.csvHtml5 = {
var newLine = _newLine( config );
var output_ = _exportData( dt, config ).str;
var data = dt.buttons.exportData( config.exportOptions );
if (data.header[2][0] !== "T") {
if (data.header[2][0] == 2) {
var str = $('tr:first').text() + '\n'
var output = str + output_
}
Expand Down
4 changes: 2 additions & 2 deletions staticfiles/js/vendor/DataTables/datatables.js
Original file line number Diff line number Diff line change
Expand Up @@ -27583,7 +27583,7 @@ DataTable.ext.buttons.copyHtml5 = {
var exportData = _exportData( dt, config );
var data = dt.buttons.exportData( config.exportOptions );
var output_ = exportData.str;
if (data.header[2][0] !== "T") {
if (data.header[2][0] == 2) {
var str = $('tr:first').text() + '\n'
var output = str + output_
}
Expand Down Expand Up @@ -27692,7 +27692,7 @@ DataTable.ext.buttons.csvHtml5 = {
var newLine = _newLine( config );
var output_ = _exportData( dt, config ).str;
var data = dt.buttons.exportData( config.exportOptions );
if (data.header[2][0] !== "T") {
if (data.header[2][0] == 2) {
var str = $('tr:first').text() + '\n'
var output = str + output_
}
Expand Down