mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-28 10:24:10 +01:00
Fix example: Pipeline needs to return the Ajax object
https://datatables.net/forums/discussion/60074/reference-to-xhr-not-passed-for-xhr-dt-when-using-pipline-plugin#latest
This commit is contained in:
parent
c1e67aec89
commit
99a20e7e01
@ -1 +1 @@
|
||||
39f1b4feeaea2ca273874e711e1fa29139e1995a
|
||||
ce2c7c1df81ac77d02b4df263db12acaac5db627
|
||||
|
@ -95,7 +95,7 @@ $.fn.dataTable.pipeline = function ( opts ) {
|
||||
$.extend( request, conf.data );
|
||||
}
|
||||
|
||||
settings.jqXHR = $.ajax( {
|
||||
return $.ajax( {
|
||||
"type": conf.method,
|
||||
"url": conf.url,
|
||||
"data": request,
|
||||
@ -276,7 +276,7 @@ $.fn.dataTable.pipeline = function ( opts ) {
|
||||
$.extend( request, conf.data );
|
||||
}
|
||||
|
||||
settings.jqXHR = $.ajax( {
|
||||
return $.ajax( {
|
||||
"type": conf.method,
|
||||
"url": conf.url,
|
||||
"data": request,
|
||||
|
Loading…
Reference in New Issue
Block a user