summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/cjs_app.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/fxjs/cjs_app.cpp b/fxjs/cjs_app.cpp
index 12bb8ddc84..08d4e4e1c8 100644
--- a/fxjs/cjs_app.cpp
+++ b/fxjs/cjs_app.cpp
@@ -405,12 +405,6 @@ void CJS_App::ClearTimerCommon(CJS_Runtime* pRuntime,
CJS_Result CJS_App::execMenuItem(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params) {
- if (params.size() > 0 && IsTypeKnown(params[0])) {
- WideString item = pRuntime->ToWideString(params[0]);
- if (item == L"SaveAs" && pRuntime->GetFormFillEnv())
- pRuntime->GetFormFillEnv()->SaveCalled();
- }
-
return CJS_Result::Failure(JSMessage::kNotSupportedError);
}