Skip to content

Commit 32d027a

Browse files
author
dtbuild
committed
db912ef1d4b5945cbacd7d13cd74e80a715db646 Fix: Excel button was calling customizeData twice if present
Sync to source repo @db912ef1d4b5945cbacd7d13cd74e80a715db646
1 parent dbe39db commit 32d027a

5 files changed

Lines changed: 3 additions & 11 deletions

File tree

datatables.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
],
2626
"src-repo": "http://github.com/DataTables/Buttons",
2727
"last-tag": "3.1.0",
28-
"last-sync": "0695dd5c3fb64810edd88aa13107452695a82a8e"
28+
"last-sync": "db912ef1d4b5945cbacd7d13cd74e80a715db646"
2929
}

js/buttons.html5.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,10 +1309,6 @@ DataTable.ext.buttons.excelHtml5 = {
13091309
});
13101310
};
13111311

1312-
if (config.customizeData) {
1313-
config.customizeData(data);
1314-
}
1315-
13161312
// Title and top messages
13171313
var exportInfo = dt.buttons.exportInfo(config);
13181314
if (exportInfo.title) {

js/buttons.html5.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/buttons.html5.min.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/buttons.html5.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,10 +1266,6 @@ DataTable.ext.buttons.excelHtml5 = {
12661266
});
12671267
};
12681268

1269-
if (config.customizeData) {
1270-
config.customizeData(data);
1271-
}
1272-
12731269
// Title and top messages
12741270
var exportInfo = dt.buttons.exportInfo(config);
12751271
if (exportInfo.title) {

0 commit comments

Comments
 (0)