Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix backward compatibility with mDataProp = null

  • Loading branch information...
commit d9bb6b63cd5f5f8ab692ba0e1913a56b0772ae2c 1 parent c74db5a
@DukeAstar DukeAstar authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  media/src/core/core.columns.js
View
3  media/src/core/core.columns.js
@@ -1,5 +1,4 @@
-
/**
* Add a column to the list used for the table with default values
* @param {object} oSettings dataTables settings object
@@ -69,7 +68,7 @@ function _fnColumnOptions( oSettings, iCol, oOptions )
_fnCamelToHungarian( DataTable.defaults.column, oOptions );
/* Backwards compatibility for mDataProp */
- if ( oOptions.mDataProp && !oOptions.mData )
+ if ( oOptions.mDataProp !== undefined && !oOptions.mData )
{
oOptions.mData = oOptions.mDataProp;
}
Please sign in to comment.
Something went wrong with that request. Please try again.