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:
parent
c85bcab903
commit
7a171b14c2
@ -1 +1 @@
|
||||
953038e785e37682aa9fdb4e24402968615d5b4c
|
||||
a5ec3278bb4c799d750ce6301268be88a300e9b9
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -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 :
|
||||
|
Loading…
x
Reference in New Issue
Block a user