PDA

View Full Version : IE nextSibling



Valentina
22 Nov 2012, 3:56 AM
Hi all,

I've a bug in IE when try to add a checkbox to a checkboxgroup.
I get this error Unable to get value of the property nextSibling objext is null or undefined.

checkboxgroup.add(checkbox);

what I'm doing wrong?

Best Regards

Valentina

mitchellsimoens
24 Nov 2012, 6:26 AM
What Ext JS 4.x.x version are you using?

Valentina
25 Nov 2012, 10:51 PM
Hi,

I'm using version 4.1.3 and in 4.1 it don't work either.
Do you have any idea ?

Best Regards

Valentina

scornell11
30 Dec 2014, 8:15 AM
I'm not sure if this is related to the combo error. We have an issue that only shows in IE10 (IE11 is fine).

We have a view that has several tabs. When the user clicks on a tab the following issue occurs:

error: 'unable to get property 'nextSibling' of undefined or null reference
class: Ext.dom.Helper
method: ieTable
line: ns = el.nextSibling
version: 4.2.1.883

The work around was to add the following code:

if(el){
ns = el.nextSibling;
}else{
return this.ieTable(depth -1, openingTags, htmlContent, closingTags);
}

The initial tests seem to work (we'll have to do more testing)

Note: Since the Ext.dom.Helper uses the Revealing module pattern, I had to update the framework directly. Overriding would not work because it did not provide access to the detachedDiv variable.