Update datatables-slidingchild.js

Added ajax beforeSend to allow caller to specify data for request.
pull/334/head
Nick 8 years ago committed by GitHub
parent 0e5db8baae
commit 8d5455cc18

@ -55,8 +55,12 @@
else {
$.ajax({
type: opts.ajax.requestType,
url: opts.ajax.requestUrl,
data: opts.ajax.requestData,
url: opts.ajax.requestUrl,
beforeSend: function(xhr, settings) {
if (opts.ajax.getRequestData) {
this.data = opts.ajax.getRequestData(dtRow);
}
},
contentType: opts.ajax.contentType,
dataType: opts.ajax.dataType,
success: function (response) {

Loading…
Cancel
Save