From ce2c7c1df81ac77d02b4df263db12acaac5db627 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 23 Jan 2020 09:32:54 +0000 Subject: [PATCH] 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 --- examples/server_side/pipeline.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server_side/pipeline.xml b/examples/server_side/pipeline.xml index 721270fc3..91cfc23ca 100644 --- a/examples/server_side/pipeline.xml +++ b/examples/server_side/pipeline.xml @@ -85,7 +85,7 @@ $.fn.dataTable.pipeline = function ( opts ) { $.extend( request, conf.data ); } - settings.jqXHR = $.ajax( { + return $.ajax( { "type": conf.method, "url": conf.url, "data": request,