Update sliding-child.js

Added ajax beforeSend to allow caller to specify data for request.
pull/315/head
Nick 8 years ago committed by GitHub
parent ef6457e3e6
commit bf6d86d424

@ -56,7 +56,11 @@
$.ajax({
type: opts.ajax.requestType,
url: opts.ajax.requestUrl,
data: opts.ajax.requestData,
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