mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-10 22:24:10 +01:00
Fixed: When using server-side processing and having called fnDestroy, don't make another XHR to the server as the data won't be used - 3375
This commit is contained in:
parent
5b677bcdf7
commit
837ae99479
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -3009,7 +3009,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* If we are dealing with Ajax - do it here */
|
/* If we are dealing with Ajax - do it here */
|
||||||
if ( oSettings.oFeatures.bServerSide &&
|
if ( !oSettings.bDestroying && oSettings.oFeatures.bServerSide &&
|
||||||
!_fnAjaxUpdate( oSettings ) )
|
!_fnAjaxUpdate( oSettings ) )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user