diff options
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cjx_node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp index 1052ba7e39..f102f3ae10 100644 --- a/fxjs/cjx_node.cpp +++ b/fxjs/cjx_node.cpp @@ -969,8 +969,8 @@ void CJX_Node::Script_NodeClass_OneOfChild(CFXJSE_Value* pValue, ThrowInvalidPropertyException(); return; } - std::vector<CXFA_Node*> properties = - GetXFANode()->GetNodeList(XFA_NODEFILTER_OneOfProperty); + std::vector<CXFA_Node*> properties = GetXFANode()->GetNodeList( + XFA_NODEFILTER_OneOfProperty, XFA_Element::Unknown); if (!properties.empty()) { pValue->Assign(GetDocument()->GetScriptContext()->GetJSValueFromMap( properties.front())); |