Index: fpdfsdk/javascript/cjs_context.cpp |
diff --git a/fpdfsdk/javascript/cjs_context.cpp b/fpdfsdk/javascript/cjs_context.cpp |
index b844dc6e5cad2a20ae50ec72c0b93609a6971dfb..3833b166b67852eb05632141f802859a4ec0cf48 100644 |
--- a/fpdfsdk/javascript/cjs_context.cpp |
+++ b/fpdfsdk/javascript/cjs_context.cpp |
@@ -268,6 +268,10 @@ void CJS_Context::OnExternal_Exec() { |
m_pEventHandler->OnExternal_Exec(); |
} |
+void CJS_Context::EnableMessageBox(FX_BOOL bEnable) { |
+ m_bMsgBoxEnable = bEnable; |
+} |
+ |
void CJS_Context::OnBatchExec(CPDFSDK_Document* pTarget) { |
m_pEventHandler->OnBatchExec(pTarget); |
} |