1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-21 13:29:04 +01:00

Dev fix: row().child() checks for undefined now since an empty string

would be a valid input for a details row. Not a useful one, but
none-the-less a valid on.
This commit is contained in:
Allan Jardine 2013-12-10 17:31:46 +00:00
parent c85bcab903
commit 7a171b14c2
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
953038e785e37682aa9fdb4e24402968615d5b4c
a5ec3278bb4c799d750ce6301268be88a300e9b9

View File

@ -7649,7 +7649,7 @@
_api_register( 'row().child()', function ( data, klass ) {
var ctx = this.context;
if ( ! data ) {
if ( data === undefined ) {
// get
return ctx.length && this.length ?
ctx[0].aoData[ this[0] ]._details :