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:
parent
1beb523cc1
commit
d5cb811698
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -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++ )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user