Hi!

I think this is a bug in js for IE:

Wicket.replaceOuterHtmlIE = function(element, text) {
........

tempDiv.innerHTML = '<table style="display: none">' + text + '</table>';
 tempParent = tempDiv.getElementsByTagName(tn).item(0).parentNode;
}


::::

When the only row of a <table> is removed,
tempDiv.getElementsByTagName(tn).item(0).parentNode results in a
nullpointer or "object required" exception.

Does someone agree?

So I would add a null check and use
getElementsByTagName('table').item(0) in such case?

**
Martin

Reply via email to