-
13 Dec 2012 5:15 AM #1
Problems with panels in Internet Explorer 9 - insertAfter throws an exception
Problems with panels in Internet Explorer 9 - insertAfter throws an exception
When I use Internet Explorer 9, there occurs always a problems with one panel. It is cloned and can see multiple instances of it although there should be only one. After page reload there is only panel. Problem occurs when I change the collapse state of this panel. It is then cloned. With each collapse-expand action, one more panel is added.

There is an exception thrown from the insertAfter from ExtJS method, which I can't really understand.
Here is the piece of code where IE sees problems - method insertAfter, null value.
In other browsers I do not have any problems at all.Code:Ext.Element.addMethods( function() { var GETDOM = Ext.getDom, GET = Ext.get, DH = Ext.DomHelper; return { ... insertBefore: function(el){ (el = GETDOM(el)).parentNode.insertBefore(this.dom, el); return this; }, insertAfter: function(el){ (el = GETDOM(el)).parentNode.insertBefore(this.dom, el.nextSibling); return this; },
Can this problem be somehow related to the bug which was addressed here:
http://www.sencha.com/forum/showthre...ow-in-IE-brows!
The code of the methods has been changed between 3.4.0, which I use, and 4.0.0 versions so I cannot simply transfer it.
I would be really grateful for your support cause this problem is very annoying and seems hard to solve for me.
EDIT: I read that there were at least 4 bugs which had to do with IE which have been fixed in 3.4.1.
Can anyone please assess if my problem is already known and have also been fixed in 3.4.1?
-
15 Dec 2012 7:59 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
You would need to have a support subscription in order to get 3.4.1 and future updates to Ext JS 3
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
1 Feb 2013 2:31 AM #3
Does anyone here have any ideas how to get rid of the problem with zombie panels? The exception which see in the browser console is:
SCRIPT5007: Unable to get value of the property ' insertbefore': object is null or undefined ext-all-debug-w-comments.js, line 3443 character 11
Tried to google, but can't see any answer which would be applicable to this problem. This issue arises only for IE. Other browsers work perfectly. Have no idea what to do to narrow or eliminate the problem.


Reply With Quote