View Full Version : Possible bug in clean() method in IE6

25 Jun 2007, 9:57 AM
Possible bug in clean() method in IE6 Ext Beta1.1

IE6 throws an "Object does not support this property or method" exception when I use the Element.clean() method.

Source code:

{n.nodeIndex=++ni;}n=nx;}this.isCleaned=true;return this;}
in ext-all.js

26 Jun 2007, 1:14 PM
What are you calling it on?

27 Jun 2007, 9:13 AM
on a div

<div id="actionLabel" class="loading-indicator" style="visibility: hidden;">

The js code is attached...

30 Jun 2007, 1:20 PM
The error is thrown by IE when the Ext.Element contains text.
Here is an example: http://00367586.aspnethosting.dk/clean-bug/

30 Jun 2007, 1:47 PM
Not seeing an error running your page in IE6 on WinXP SP2

4 Jul 2007, 9:20 AM
You probably didn't click the box and I can't blame you. The example was ambiguous about what to expect. I have modified the example so you can the error weather you click the link or the box. Also the example shows a bug in how Opera (9.21) animates the box.
I haven't had time to test it yet but I think a solution would be to check the node for text before deleting it (as it seems to me that, that is why IE halts).