From 75d28cad1cf62362a1d3003fc90c010d575dafbc Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 20 Mar 2014 15:28:44 +0000 Subject: [PATCH] Fix: fnOpen should return a node, not undefined --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 28897651..ba339404 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -c672ef3563ffb4e8287d510c8088914114c58a52 +a6370f0666a68b7753b2f53f4b937f03248ffece diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index d2999b65..2e4d082b 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -5545,7 +5545,11 @@ */ this.fnOpen = function( nTr, mHtml, sClass ) { - return this.api( true ).row( nTr ).child( mHtml, sClass ).show(); + return this.api( true ) + .row( nTr ) + .child( mHtml, sClass ) + .show() + .node(); };