PDA

View Full Version : Getting wrap.dom.parentNode is null or not an object in TreePanel expandPath() in IE7



jteraiya
20 Apr 2012, 10:16 AM
Hi,

loadTreePath: function(msg) { Ext.Ajax.request({
url: 'controller/getTreePath.htm',
method: 'GET',
success: function(response) {
var json = Ext.JSON.decode(response.responseText);
treePathLoaded=true;
if (json.results > 0) {
var path = json.root[0].path;
var loadMask = new Ext.LoadMask(Ext.getCmp('navigatorMainPanel').body, "text");
loadMask.show();
try {
Ext.getCmp('navTreePanel').expandPath(path);
loadMask.hide();
} catch(e) {
loadMask.hide();
}
}
},

We have above code to expand the treePanel. It works fine in all other browser but in IE7 it throws an error (wrap.dom.parentNode is null or not an object), at line 9351 in ext-all-debug.js.

We are using Ext 4.0.2, I tried 4.07 and 4.1rc as well without any luck.

Could it be related to (http://www.sencha.com/forum/showthread.php?137685-4.0.2a-Bug-in-Element.slideIn&)?

Any help would be appreciated.