Skip to content

Commit

Permalink
db912ef1d4b5945cbacd7d13cd74e80a715db646 Fix: Excel button was callin…
Browse files Browse the repository at this point in the history
…g `customizeData` twice if present

Sync to source repo @db912ef1d4b5945cbacd7d13cd74e80a715db646
  • Loading branch information
dtbuild committed Jul 30, 2024
1 parent dbe39db commit 32d027a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
],
"src-repo": "http://github.com/DataTables/Buttons",
"last-tag": "3.1.0",
"last-sync": "0695dd5c3fb64810edd88aa13107452695a82a8e"
"last-sync": "db912ef1d4b5945cbacd7d13cd74e80a715db646"
}
4 changes: 0 additions & 4 deletions js/buttons.html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -1309,10 +1309,6 @@ DataTable.ext.buttons.excelHtml5 = {
});
};

if (config.customizeData) {
config.customizeData(data);
}

// Title and top messages
var exportInfo = dt.buttons.exportInfo(config);
if (exportInfo.title) {
Expand Down
2 changes: 1 addition & 1 deletion js/buttons.html5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/buttons.html5.min.mjs

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions js/buttons.html5.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1266,10 +1266,6 @@ DataTable.ext.buttons.excelHtml5 = {
});
};

if (config.customizeData) {
config.customizeData(data);
}

// Title and top messages
var exportInfo = dt.buttons.exportInfo(config);
if (exportInfo.title) {
Expand Down

0 comments on commit 32d027a

Please sign in to comment.