diff options
Diffstat (limited to 'fxjs/cjs_app.cpp')
-rw-r--r-- | fxjs/cjs_app.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/cjs_app.cpp b/fxjs/cjs_app.cpp index c51bd9dca2..97ff37872a 100644 --- a/fxjs/cjs_app.cpp +++ b/fxjs/cjs_app.cpp @@ -128,7 +128,8 @@ CJS_Result CJS_App::get_calculate(CJS_Runtime* pRuntime) { CJS_Result CJS_App::set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { m_bCalculate = pRuntime->ToBoolean(vp); - pRuntime->GetFormFillEnv()->GetInterForm()->EnableCalculate(m_bCalculate); + pRuntime->GetFormFillEnv()->GetInteractiveForm()->EnableCalculate( + m_bCalculate); return CJS_Result::Success(); } |