fnServerData function was call without having DataTable as "this"

pull/5/head
DukeAstar 12 years ago
parent 1b1c0518f4
commit 1fe1331c0f

@ -30,7 +30,7 @@ $.fn.dataTableExt.oApi.fnReloadAjax = function ( oSettings, sNewSource, fnCallba
this.oApi._fnServerParams( oSettings, aData );
oSettings.fnServerData( oSettings.sAjaxSource, aData, function(json) {
oSettings.fnServerData.call( oSettings.oInstance, oSettings.sAjaxSource, aData, function(json) {
/* Clear the old information from the table */
that.oApi._fnClearTable( oSettings );

Loading…
Cancel
Save