Skip to content

Commit

Permalink
Fix: null data should be returned as an empty string for HTML display
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Jardine committed May 9, 2011
1 parent d242d9c commit 341f678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media/js/jquery.dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -6526,8 +6526,8 @@
}
}

if ( sSpecific == 'display' ) {
return sData+'';
if ( sSpecific == 'display' && sData === null ) {
return '';
}
return sData;
}
Expand Down

0 comments on commit 341f678

Please sign in to comment.