changed check for equals() from ESNode to IPathElement
This commit is contained in:
parent
936a9de0e8
commit
9734e347a9
1 changed files with 2 additions and 1 deletions
|
@ -250,7 +250,7 @@ public class EcmaScriptEvaluateVisitor
|
||||||
|
|
||||||
// ESNode wrappers must be checked with equals() because
|
// ESNode wrappers must be checked with equals() because
|
||||||
// it's possible that different wrappers wrap the same node!
|
// it's possible that different wrappers wrap the same node!
|
||||||
if (v1 instanceof helma.framework.core.ESNode) {
|
if (v1 instanceof helma.framework.IPathElement) {
|
||||||
return v1.equals (v2);
|
return v1.equals (v2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1362,3 +1362,4 @@ public class EcmaScriptEvaluateVisitor
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue