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

Dev: Code type

* Fixes DataTables/DataTables #448
This commit is contained in:
Allan Jardine 2014-11-05 11:44:05 +00:00
parent fb6a7be880
commit 0e0acbd521
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
8013a8e9e0726d0c31dc141c75b41602c9446f42
5c1bdda86475cbdabb160c56be6949d803024604

View File

@ -2633,7 +2633,7 @@
var draw = compat( 'sEcho', 'draw' );
var recordsTotal = compat( 'iTotalRecords', 'recordsTotal' );
var rocordsFiltered = compat( 'iTotalDisplayRecords', 'recordsFiltered' );
var recordsFiltered = compat( 'iTotalDisplayRecords', 'recordsFiltered' );
if ( draw ) {
// Protect against out of sequence returns
@ -2645,7 +2645,7 @@
_fnClearTable( settings );
settings._iRecordsTotal = parseInt(recordsTotal, 10);
settings._iRecordsDisplay = parseInt(rocordsFiltered, 10);
settings._iRecordsDisplay = parseInt(recordsFiltered, 10);
var data = _fnAjaxDataSrc( settings, json );
for ( var i=0, ien=data.length ; i<ien ; i++ ) {