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

Dev - fix attributes for empty row weren't being applied

This commit is contained in:
Allan Jardine 2013-04-22 09:08:49 +01:00
parent 73e265218e
commit 414abff7e6

View File

@ -418,11 +418,11 @@ function _fnDraw( oSettings )
} }
anRows[ 0 ] = $( '<tr/>', { 'class': iStripes ? asStripeClasses[0] : '' } ) anRows[ 0 ] = $( '<tr/>', { 'class': iStripes ? asStripeClasses[0] : '' } )
.append( $('<td>'+sZero+'</td>', { .append( $('<td />', {
'valign': 'top', 'valign': 'top',
'colspan': _fnVisbleColumns( oSettings ), 'colSpan': _fnVisbleColumns( oSettings ),
'class': oSettings.oClasses.sRowEmpty 'class': oSettings.oClasses.sRowEmpty
} ) )[0]; } ).html( sZero ) )[0];
} }
/* Header and footer callbacks */ /* Header and footer callbacks */