1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Fixed: The second parameter for fnServerData was being passed as null when used without server-side processing. It makes much more sense to pass an empty array - 2553

This commit is contained in:
Allan Jardine 2010-08-20 18:06:47 +01:00
parent 1beb523cc1
commit d5cb811698

View File

@ -2194,7 +2194,7 @@
{
_fnProcessingDisplay( oSettings, true );
oSettings.fnServerData.call( oSettings.oInstance, oSettings.sAjaxSource, null, function(json) {
oSettings.fnServerData.call( oSettings.oInstance, oSettings.sAjaxSource, [], function(json) {
/* Got the data - add it to the table */
for ( var i=0 ; i<json.aaData.length ; i++ )
{