1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00

Fix: Column visiblity was using $().remove() to remove elements from the

DOM which results in any events attached being detached by jQuery. Need
to use `detach()`

- Thanks to sebgoe in thread 19360
This commit is contained in:
Allan Jardine 2014-02-05 14:02:23 +00:00
parent b29fa07501
commit 87e0d43844
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0bad6ae070822c2ed55a47610f7f6262926353d5
efedff77e37c7a32cca9710ee7e008968047801e

View File

@ -7921,7 +7921,7 @@
}
else {
// Remove column
$( _pluck( settings.aoData, 'anCells', column ) ).remove();
$( _pluck( settings.aoData, 'anCells', column ) ).detach();
col.bVisible = false;
_fnDrawHead( settings, settings.aoHeader );