summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/cjx_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp
index 8f99b1a5b8..8de755d9fd 100644
--- a/fxjs/cjx_node.cpp
+++ b/fxjs/cjx_node.cpp
@@ -1353,7 +1353,7 @@ void CJX_Node::Script_Som_Message(CFXJSE_Value* pValue,
bool bNew = false;
CXFA_ValidateData validateData = pWidgetData->GetValidateData(false);
- if (!validateData) {
+ if (!validateData.HasValidNode()) {
validateData = pWidgetData->GetValidateData(true);
bNew = true;
}