From d5cb81169842c272bc80f75d72da2c844e7d5749 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Fri, 20 Aug 2010 18:06:47 +0100 Subject: [PATCH] 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 --- media/js/jquery.dataTables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 2efa921c..07448d0a 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -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