nTableWrapper.parentNode empty

nTableWrapper.parentNode empty

karolkarol Posts: 2Questions: 0Answers: 0
edited March 2011 in Bug reports
Hi all!

I'm getting a strange JS error from IE8 (not seen on IE7 nor FF3.x):
nTableWrapper.parentNode is empty or not an object
The message is back-translated from testing machine so you might get something slightly different.
The error is said to occur jquery.dataTables.min.js, line 125, char 39.

I'm using DT 1.7.6, the same error appeared in 1.7.4.

Basically I've got a page with a tree and each time user selects a tree node, existing tables are destroyed and new ones are created, with new data. There are usually around 5 tables on the page.

If one repeats this procedure quickly and multiple times (like 30-50), the error appears and the page stops working.

Code used for creating and destroying tables below.
${tableId} denotes a page-unique (but not history-unique) ID of a single table.

[code]
// called at the start of the tree selection handling
function clearActiveTables() {
for (var i=0 ; i

Replies

This discussion has been closed.