From 99ef71de4a7551bed99cee45b1bf08561884494b Mon Sep 17 00:00:00 2001 From: nickofolas Date: Thu, 20 Jan 2022 17:14:38 -0600 Subject: [PATCH] Update prompt message content --- src/ScriptEditor/ui/ScriptEditorRoot.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ScriptEditor/ui/ScriptEditorRoot.tsx b/src/ScriptEditor/ui/ScriptEditorRoot.tsx index 249da8f36..03887abb5 100644 --- a/src/ScriptEditor/ui/ScriptEditorRoot.tsx +++ b/src/ScriptEditor/ui/ScriptEditorRoot.tsx @@ -702,7 +702,8 @@ export function Root(props: IProps): React.ReactElement { if (openScript.code !== serverScriptCode) { PromptEvent.emit({ - txt: "Do you want to overwrite " + openScript.fileName + " with the contents saved on the server? This cannot be undone.", + txt: "Do you want to overwrite the current editor content with the contents of " + + openScript.fileName + " on the server? This cannot be undone.", resolve: (result: boolean) => { if (result) { // Save changes