Call getChildElement() instead of getSubnode() as fallback in getProperty().
Fixed bug 155.
This commit is contained in:
parent
4babc5c850
commit
0ce0f3f0eb
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ public class ESNode extends ObjectPrototype {
|
|||
}
|
||||
|
||||
// as last resort, try to get property as anonymous subnode
|
||||
INode anon = node.getSubnode (propertyName);
|
||||
INode anon = (INode) node.getChildElement (propertyName);
|
||||
if (anon != null)
|
||||
return engine.getNodeWrapper (anon);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue