From 0e0acbd521d655a7bb37d85a28abda6865a60fc3 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Wed, 5 Nov 2014 11:44:05 +0000 Subject: [PATCH] Dev: Code type * Fixes DataTables/DataTables #448 --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 50d575d7..c80706bc 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -8013a8e9e0726d0c31dc141c75b41602c9446f42 +5c1bdda86475cbdabb160c56be6949d803024604 diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 4e6fa0f3..fcf72b61 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -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