mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
New: Add preAjax
event so plug-in authors can add Ajax params
This commit is contained in:
parent
78b043d234
commit
56481941b1
@ -1 +1 @@
|
|||||||
ef259f6640c878bdad5a88706cdf16657e2a74d7
|
729581eb95f7eb6bdd3a6bcb17a55d385bd40db2
|
||||||
|
3
media/js/jquery.dataTables.js
vendored
3
media/js/jquery.dataTables.js
vendored
@ -2363,6 +2363,9 @@
|
|||||||
// Store the data submitted for the API
|
// Store the data submitted for the API
|
||||||
oSettings.oAjaxData = data;
|
oSettings.oAjaxData = data;
|
||||||
|
|
||||||
|
// Allow plug-ins and external processes to modify the data
|
||||||
|
_fnCallbackFire( oSettings, null, 'preXhr', [oSettings, data] );
|
||||||
|
|
||||||
if ( oSettings.fnServerData )
|
if ( oSettings.fnServerData )
|
||||||
{
|
{
|
||||||
// DataTables 1.9- compatibility
|
// DataTables 1.9- compatibility
|
||||||
|
Loading…
Reference in New Issue
Block a user