summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fxjs/js_resources.cpp2
-rw-r--r--fxjs/js_resources.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/fxjs/js_resources.cpp b/fxjs/js_resources.cpp
index 5df1460cbc..29edf895a9 100644
--- a/fxjs/js_resources.cpp
+++ b/fxjs/js_resources.cpp
@@ -31,8 +31,6 @@ WideString JSGetStringFromID(JSMessage msg) {
return L"System is busy.";
case JSMessage::kDuplicateEventError:
return L"Duplicate formfield event found.";
- case JSMessage::kRunSuccess:
- return L"Script ran successfully.";
case JSMessage::kSecondParamNotDateError:
return L"The second parameter can't be converted to a Date.";
case JSMessage::kSecondParamInvalidDateError:
diff --git a/fxjs/js_resources.h b/fxjs/js_resources.h
index 10bbcb8fed..064fd1609c 100644
--- a/fxjs/js_resources.h
+++ b/fxjs/js_resources.h
@@ -10,8 +10,7 @@
#include "core/fxcrt/widestring.h"
enum class JSMessage {
- kRunSuccess = 0,
- kAlert,
+ kAlert = 1,
kParamError,
kInvalidInputError,
kParamTooLongError,