fjanon
27 Jul 2007, 4:09 AM
I want to find the parent of a node, without specifying the class or HTML element. I used Ext.get(target).findParentNode() but it crashes Ext:
findParentNode with no argument seems to crash Ext, with empty string it works...
Firebug:
ss has no properties
file:///C:/Work/ext/ext-1.1-rc1/ext-all.js
Line 14
Works:
Ext.get(target).findParentNode("");
Doesn't work, generates an error inside Ext:
Ext.get(target).findParentNode();
Would it be possible to handle the no argument case as well? No sure about findParent and others where "" is an option.
Thanks
Fred
findParentNode with no argument seems to crash Ext, with empty string it works...
Firebug:
ss has no properties
file:///C:/Work/ext/ext-1.1-rc1/ext-all.js
Line 14
Works:
Ext.get(target).findParentNode("");
Doesn't work, generates an error inside Ext:
Ext.get(target).findParentNode();
Would it be possible to handle the no argument case as well? No sure about findParent and others where "" is an option.
Thanks
Fred