oSettings is null when reloading a page that contains a datatable
oSettings is null when reloading a page that contains a datatable
hdl
Posts: 1Questions: 0Answers: 0
If I click on different links that load page with datatable, I often obtain a javascript error "OSettings is null".
I Fixed this problem on jquery.dataTables.js 1.8.2 by checking oSettings in the fnAddData function like this :
[code]
/* Find settings from table node */
var oSettings = _fnSettingsFromNode( this[_oExt.iApiIndex] );
if (oSettings != null) {
...
}
return aiReturn;
[/code]
Now it works fine.
Please report this in your future release.
I Fixed this problem on jquery.dataTables.js 1.8.2 by checking oSettings in the fnAddData function like this :
[code]
/* Find settings from table node */
var oSettings = _fnSettingsFromNode( this[_oExt.iApiIndex] );
if (oSettings != null) {
...
}
return aiReturn;
[/code]
Now it works fine.
Please report this in your future release.
This discussion has been closed.
Replies
Allan