mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
Fix: Multiple column options for a single column could cause custom type
to be lost - Without a check on the `sType` option, if there was multiple column defintations for a single column, the custom sType could be lost
This commit is contained in:
parent
6924ccb237
commit
9fda4f3a3d
@ -1 +1 @@
|
||||
d50b5585426b88bb0d3942949cd5d7238dc441ec
|
||||
4615e4e248f4c3ac97821bb1c27c6c1c9962a1f9
|
||||
|
5
media/js/jquery.dataTables.js
vendored
5
media/js/jquery.dataTables.js
vendored
@ -586,7 +586,10 @@
|
||||
oOptions.mData = oOptions.mDataProp;
|
||||
}
|
||||
|
||||
oCol._sManualType = oOptions.sType;
|
||||
if ( oOptions.sType )
|
||||
{
|
||||
oCol._sManualType = oOptions.sType;
|
||||
}
|
||||
|
||||
// `class` is a reserved word in Javascript, so we need to provide
|
||||
// the ability to use a valid name for the camel case input
|
||||
|
Loading…
Reference in New Issue
Block a user