JS error in jquery.datatables.min.js on activating pagination for a table
-
Hi and thanks for putting together this plugin! We’ve been using it for a long time and really enjoying its functionality!
We’ve run across this issue in version 1.9.2 of the plugin, when using the plugin standalone, without any extensions.
When activating pagination for a table and accessing the post containing the table, pagination does not activate and a Javascript error is thrown in the browser console. The error is at line 24 of /tablepress/js/jquery.datatables.min.js and it concerns accessing the property “_DT_CellIndex” on an undefined object “i”.
As a workaround, we added a check right before that property is accessed, to ensure that the object “i” is always defined, when doing so.
The issue might be in Datatables, though, since the same error was thrown if we replaced the functionality in the TablePress plugin with the Datatables Javascript code from their official website.
Thanks once again! And keep up the good work!
- The topic ‘JS error in jquery.datatables.min.js on activating pagination for a table’ is closed to new replies.