summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffdoc.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffdoc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp
index 5b00d5a579..244e243273 100644
--- a/xfa/fxfa/cxfa_ffdoc.cpp
+++ b/xfa/fxfa/cxfa_ffdoc.cpp
@@ -264,8 +264,10 @@ void CXFA_FFDoc::StopLoad() {
return;
WideString wsType;
- if (pDynamicRender->JSNode()->TryContent(wsType) && wsType == L"required")
+ if (pDynamicRender->JSNode()->TryContent(wsType, false, true) &&
+ wsType == L"required") {
m_FormType = FormType::kXFAFull;
+ }
}
CXFA_FFDocView* CXFA_FFDoc::CreateDocView() {