Skip to content

Commit a8ca3e6

Browse files
author
dtbuild
committedOct 21, 2024·
91ec1694df383e3520038c0ecab83ee04b93b829 New: When closing a popover, trigger a buttons-popover-hide.dt event on the -tag body.
f95f576bb7fa6fcc6fa6ccb26c3a8a5b9e475ecf Merge branch 'master' of github.com:DataTables/Buttons Sync to source repo @f95f576bb7fa6fcc6fa6ccb26c3a8a5b9e475ecf
1 parent cdb39d4 commit a8ca3e6

5 files changed

+7
-3
lines changed
 

‎datatables.json

+1-1
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.2",
28-
"last-sync": "3cab48583da254adb44e6c00b7bcd13023563712"
28+
"last-sync": "f95f576bb7fa6fcc6fa6ccb26c3a8a5b9e475ecf"
2929
}

‎js/dataTables.buttons.js

+2
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,8 @@ $.extend(Buttons.prototype, {
14151415
$('body').off('.dtb-collection');
14161416
dt.off('buttons-action.b-internal');
14171417
dt.off('destroy');
1418+
1419+
$('body').trigger('buttons-popover-hide.dt');
14181420
};
14191421

14201422
if (content === false) {

‎js/dataTables.buttons.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/dataTables.buttons.min.mjs

+1-1
Large diffs are not rendered by default.

‎js/dataTables.buttons.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -1375,6 +1375,8 @@ $.extend(Buttons.prototype, {
13751375
$('body').off('.dtb-collection');
13761376
dt.off('buttons-action.b-internal');
13771377
dt.off('destroy');
1378+
1379+
$('body').trigger('buttons-popover-hide.dt');
13781380
};
13791381

13801382
if (content === false) {

0 commit comments

Comments
 (0)