From 6a568a75429a1a8b2064315cd12345a4c9f8ea73 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Wed, 5 Mar 2014 16:54:56 +0000 Subject: [PATCH] Fix: When invalidating data source, check the cells exist first - Fixes the issue highlighted in thread 19822 --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 965d8347..76973acc 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -6cf06ac317bed3f66765071a5e9081dc570a80a5 +3034e3ba43fcfd7bb6ae6d95e566d9eca284c35a diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 9046aa39..c570886f 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -1382,8 +1382,10 @@ // Reading from data object, update the DOM var cells = row.anCells; - for ( i=0, ien=cells.length ; i