mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-20 18:54:15 +01:00
Dev fix: Adding _fnCalculateEnd as a stub to the oApi object for
plug-ins - A lot of plug-ins use _fnCalculateEnd and although all that is needed in the upgrade is to remove it, since the value is calculated automatically now, it will likely cause confusion and hassle. So I've added this stub to prevent those errors.
This commit is contained in:
parent
734607635a
commit
d60ddf211c
@ -1 +1 @@
|
||||
1f4688ea66aa148745212b66562aa3508ee15b98
|
||||
cb61595d78d0d87c1ab15bfdb1b3200de6549fa5
|
||||
|
5
media/js/jquery.dataTables.js
vendored
5
media/js/jquery.dataTables.js
vendored
@ -5783,7 +5783,10 @@
|
||||
_fnLengthOverflow: _fnLengthOverflow,
|
||||
_fnRenderer: _fnRenderer,
|
||||
_fnDataSource: _fnDataSource,
|
||||
_fnRowAttributes: _fnRowAttributes
|
||||
_fnRowAttributes: _fnRowAttributes,
|
||||
_fnCalculateEnd: function () {} // Used by a lot of plug-ins, but redundant
|
||||
// in 1.10, so this dead-end function is
|
||||
// added to prevent errors
|
||||
};
|
||||
|
||||
$.extend( DataTable.ext.internal, this.internal );
|
||||
|
Loading…
x
Reference in New Issue
Block a user