From 4447b84c34cc40deb884b2ec45b6bf3a81adf5ae Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Wed, 18 Jun 2014 13:45:27 +0100 Subject: [PATCH] Dev: Restore row details example to use 1.10.0 api --- .datatables-commit-sync | 2 +- examples/api/row_details.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index af1f4657..e2d78731 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -debc26bfb3a634ea5695a548af94eefe2389b073 +1fcedce42d4cb20dfa1e82e6bf7f9f871baac309 diff --git a/examples/api/row_details.html b/examples/api/row_details.html index b44d2660..23db6ec3 100644 --- a/examples/api/row_details.html +++ b/examples/api/row_details.html @@ -71,7 +71,7 @@ $(document).ready(function() { if ( row.child.isShown() ) { // This row is already open - close it - row.child( false ); + row.child.hide(); tr.removeClass('shown'); } else { @@ -185,7 +185,7 @@ $(document).ready(function() { if ( row.child.isShown() ) { // This row is already open - close it - row.child( false ); + row.child.hide(); tr.removeClass('shown'); } else {