summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_subform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_subform.cpp')
-rw-r--r--fxjs/xfa/cjx_subform.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/fxjs/xfa/cjx_subform.cpp b/fxjs/xfa/cjx_subform.cpp
index 947d66db1d..f153fa2ba0 100644
--- a/fxjs/xfa/cjx_subform.cpp
+++ b/fxjs/xfa/cjx_subform.cpp
@@ -47,7 +47,8 @@ CJS_Return CJX_Subform::execInitialize(
CXFA_FFNotify* pNotify = GetDocument()->GetNotify();
if (pNotify)
- pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Initialize);
+ pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Initialize, false,
+ true);
return CJS_Return(true);
}
@@ -59,7 +60,8 @@ CJS_Return CJX_Subform::execCalculate(
CXFA_FFNotify* pNotify = GetDocument()->GetNotify();
if (pNotify)
- pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Calculate);
+ pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Calculate, false,
+ true);
return CJS_Return(true);
}
@@ -73,8 +75,8 @@ CJS_Return CJX_Subform::execValidate(
if (!pNotify)
return CJS_Return(runtime->NewBoolean(false));
- int32_t iRet =
- pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Validate);
+ int32_t iRet = pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Validate,
+ false, true);
return CJS_Return(runtime->NewBoolean(iRet != XFA_EVENTERROR_Error));
}