Repaired brain-dead bug where ESValue was checked for
instance of IPathElement instead of ESNode
This commit is contained in:
parent
e6cc8162d0
commit
244e7ba779
1 changed files with 3 additions and 1 deletions
|
@ -250,7 +250,8 @@ public class EcmaScriptEvaluateVisitor
|
|||
|
||||
// ESNode wrappers must be checked with equals() because
|
||||
// it's possible that different wrappers wrap the same node!
|
||||
if (v1 instanceof helma.framework.IPathElement) {
|
||||
if (v1 instanceof helma.scripting.fesi.ESNode ||
|
||||
v1 instanceof helma.scripting.fesi.ESGenericObject) {
|
||||
return v1.equals (v2);
|
||||
}
|
||||
|
||||
|
@ -1363,3 +1364,4 @@ public class EcmaScriptEvaluateVisitor
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue