mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Dev fix: oApi backwards compatiblity issue
- The oApi option wasn't being attached correctly to either the settings object or the instance, so plug-ins were breaking. This adds the alias back in.
This commit is contained in:
parent
175240613b
commit
d9ce185f35
@ -1 +1 @@
|
||||
d4add525406017919895968ede583da9ffc73e0a
|
||||
b4fbf198ab4d7ed709fd4c35dd3201f877408361
|
||||
|
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -5361,7 +5361,7 @@
|
||||
* (check the upgrade notes).
|
||||
* @namespace
|
||||
*/
|
||||
this.internal = {
|
||||
this.oApi = this.internal = {
|
||||
"_fnExternApiFunc": _fnExternApiFunc,
|
||||
"_fnInitialise": _fnInitialise,
|
||||
"_fnInitComplete": _fnInitComplete,
|
||||
@ -5530,7 +5530,7 @@
|
||||
/* Create the settings object for this table and set some of the default parameters */
|
||||
var oSettings = $.extend( true, {}, DataTable.models.oSettings, {
|
||||
"nTable": this,
|
||||
"oApi": _that.oApi,
|
||||
"oApi": _that.internal,
|
||||
"oInit": oInit,
|
||||
"sDestroyWidth": $(this)[0].style.width,
|
||||
"sInstance": sId,
|
||||
|
Loading…
x
Reference in New Issue
Block a user